03-10-2015 01:05 PM
Hi, how can I interpret the value of key overall_percent_cpu_usage returned by REST API?
string(90) "http://192.168.42.42:6080/api/v1.0/stats/mail_system_capacity/overall_percent_cpu_usage/help"
Overall average percent cpu usage. | |
3815284 |
Solved! Go to Solution.
03-10-2015 03:10 PM
This should be comparable to the values you'll see on the GUI from Monitor > System Capacity > System Load ...
If you export those values overall - you'll see the CPU usage for the time period selected. This should give you an idea of the overall value and results that you get when running the API on-the-fly. If you were to export that report to CSV - you should see the CPU usage:
Begin Date | End Date | CPU Usage |
2015-03-09 22:00 GMT | 2015-03-09 22:59 GMT | 0.11842 |
2015-03-09 23:00 GMT | 2015-03-09 23:59 GMT | 0.08483 |
2015-03-10 00:00 GMT | 2015-03-10 00:59 GMT | 0.06375 |
2015-03-10 01:00 GMT | 2015-03-10 01:59 GMT | 0.10458 |
2015-03-10 02:00 GMT | 2015-03-10 02:59 GMT | 0.1125 |
2015-03-10 03:00 GMT | 2015-03-10 03:59 GMT | 0.09575 |
2015-03-10 04:00 GMT | 2015-03-10 04:59 GMT | 0.07308 |
-Robert
03-10-2015 03:10 PM
This should be comparable to the values you'll see on the GUI from Monitor > System Capacity > System Load ...
If you export those values overall - you'll see the CPU usage for the time period selected. This should give you an idea of the overall value and results that you get when running the API on-the-fly. If you were to export that report to CSV - you should see the CPU usage:
Begin Date | End Date | CPU Usage |
2015-03-09 22:00 GMT | 2015-03-09 22:59 GMT | 0.11842 |
2015-03-09 23:00 GMT | 2015-03-09 23:59 GMT | 0.08483 |
2015-03-10 00:00 GMT | 2015-03-10 00:59 GMT | 0.06375 |
2015-03-10 01:00 GMT | 2015-03-10 01:59 GMT | 0.10458 |
2015-03-10 02:00 GMT | 2015-03-10 02:59 GMT | 0.1125 |
2015-03-10 03:00 GMT | 2015-03-10 03:59 GMT | 0.09575 |
2015-03-10 04:00 GMT | 2015-03-10 04:59 GMT | 0.07308 |
-Robert
03-11-2015 10:59 AM
Hi Robert,
I don't know what happened yesterday but I got the value 3815284 for Overall average percent cpu usage parameter from REST API.
There are normal/expected values shown today: I get "6" from REST API, and 6,6688 if I export values from GUI and calculate average.
Thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide