cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
937
Views
0
Helpful
2
Replies

How to interpret value of key overall_percent_cpu_usage returned by REST API

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
1 Accepted Solution

Accepted Solutions

Robert Sherwin
Cisco Employee
Cisco Employee

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 DateEnd DateCPU Usage
2015-03-09 22:00 GMT2015-03-09 22:59 GMT0.11842
2015-03-09 23:00 GMT2015-03-09 23:59 GMT0.08483
2015-03-10 00:00 GMT2015-03-10 00:59 GMT0.06375
2015-03-10 01:00 GMT2015-03-10 01:59 GMT0.10458
2015-03-10 02:00 GMT2015-03-10 02:59 GMT0.1125
2015-03-10 03:00 GMT2015-03-10 03:59 GMT0.09575
2015-03-10 04:00 GMT2015-03-10 04:59 GMT0.07308

 

-Robert

View solution in original post

2 Replies 2

Robert Sherwin
Cisco Employee
Cisco Employee

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 DateEnd DateCPU Usage
2015-03-09 22:00 GMT2015-03-09 22:59 GMT0.11842
2015-03-09 23:00 GMT2015-03-09 23:59 GMT0.08483
2015-03-10 00:00 GMT2015-03-10 00:59 GMT0.06375
2015-03-10 01:00 GMT2015-03-10 01:59 GMT0.10458
2015-03-10 02:00 GMT2015-03-10 02:59 GMT0.1125
2015-03-10 03:00 GMT2015-03-10 03:59 GMT0.09575
2015-03-10 04:00 GMT2015-03-10 04:59 GMT0.07308

 

-Robert

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!