In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of querying the use information of a disk within a specified time, which has a certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
DescribeDiskMonitorData
Query the usage information of a disk within a specified time. The querable disk utility information includes read IOPS, write IOPS, read bandwidth (Bps), write bandwidth (Bps), read delay (ms) and write delay (ms). If the content is missing in the queried information, it is because we cannot obtain the usage information for this period of time, that is, the disk status is not in use (In_Use).
Description
When calling this interface, you need to be aware of:
Only disk usage information that is in use (In_Use) can be queried. For more information, please see the status table of ordinary cloud disks.
Return a maximum of 400 pieces of data at a time, that is, the specified (EndTime-StartTime) / Peroid needs to be less than or equal to 400.
Request parameter
Return parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=DescribeDiskMonitorData&DiskId=d-mydisk001&StartTime=2014-07-23T12:07:00Z&EndTime=2014-07-23T12:09:00Z&
Return the example
XML format
00 d-23b3p4r8b 00 0 2014-07-23T12:07:00Z 0 204 204 d-23b3p4r8b 00 0 2014-07-23T12:08:00Z 0819 819 d-23b3p4r8b 00 0 2014-07-23T12:09:00Z BF666447-B171-4076-BCBA-48437C18FD76 3
JSON format
{"MonitorData": {"DiskMonitorData": [{"BPSRead": 0, "BPSTotal": 0, "BPSWrite": 0, "DiskId": "d-23b3p4r8b", "IOPSRead": 0, "IOPSTotal": 0, "IOPSWrite": 0, "TimeStamp": "2014-07-23T12:07:00Z"} {"BPSRead": 0, "BPSTotal": 204, "BPSWrite": 204," DiskId ":" d-23b3p4r8b "," IOPSRead ": 0," IOPSTotal ": 0," IOPSWrite ": 0," TimeStamp ":" 2014-07-23T12:08:00Z "}, {" BPSRead ": 0," BPSTotal ": 819 "BPSWrite": 819, "DiskId": "d-23b3p4r8b", "IOPSRead": 0, "IOPSTotal": 0, "IOPSWrite": 0, "TimeStamp": "2014-07-23T12:09:00Z"}]}, "RequestId": "A48A0A77-34F5-4C33-9066-9E8D2DA0D8E2", "TotalCount": 3}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
Thank you for reading this article carefully. I hope the editor will be helpful in sharing and querying the information about the use of a disk within a specified period of time. At the same time, I also hope that you can support us, pay attention to the industry information channel, and find out if you have any problems. detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.