cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

Call API: %CPUusage of Slot id0 for the last week?

greglaskowski
Nimbostratus
Nimbostratus

Hello,

 

I wan't to know the good call API to get the average CPU for one week of the CPU ( slot id 0 or CPU ids Overall)

 

I think it's possible with the call API https://hostname/mgmt/tm/analytics/cpu/report but i don't find the good syntax..

 

Someone can help me ?

 

thanks

1 REPLY 1

Please test this endpoint, works fine.

curl -sku admin -H "Content-Type: application/json" -X GET https://<hostname>/mgmt/tm/sys/cpu