Forum Discussion
Steven_Hotovy_8
Nimbostratus
Jun 10, 2005How to tell if STATISTIC is cumulative or not
Joe,
Most STATISTIC values derived from the API calls are cumulative, in which case you can derive "instantaneous" values by subtracting the current value and the value from the previous sampling.
However, a number of STATISTICs seem to be already instantaneous, like MEMORY_TOTAL_BYTES from System/Statistics->get_global_statistics and CLIENT_SIDE_CURRENT_CONNECTIONS from LocalLB/VirtualServer->get_statistics.
Does the on-line documentation explain which STATISTICs are cumulative and which are not? If not, how do we figure this out?
Thanks,
Steve
- You are correct that some statistics are cumulative while others are a current value. Currently the SDK does not explicitly state which statistic is a cumulative total or current. Funny thing is, after 4 years of customers using our SDK, this is the first request for this. Maybe that is because in 4.x we had a limited set of statistic types available.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects