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.

How to specify a time range while using a get request for CPU and Memory stats (iControl REST API)

Ashwin_Kumar_S
Nimbostratus
Nimbostratus

Hi,

 

I am using the below query for getting CPU and memory stats for an LTM

 

https://<ip>/mgmt/tm/sys/memory

https://<ip>/mgmt/tm/sys/cpu

 

When I pass the query, I get a point in time snapshot of the stats.

 

I want to get data for a specific timeframe. Can someone help on this?

 

Thanks in advance 🙂

1 REPLY 1

Ashwin_Kumar_S
Nimbostratus
Nimbostratus

Also,

 

Is there a way to specify past 2 hours or past 4 hours data is needed in the get request?