How CPU Percent Ready metric is calculated
The CPU ready API provided for by VMware gives a delta value in milliseconds of the wait time for a given period of time. The minimum time would be a 20 second interval (aka. Realtime API). So if you want to calculate the % ready. You would take the value, let's say 1ms change, from the time period in question, let's say 20 seconds, and you get 5%.
Shorter version:
We query the API and say give us the CPU Ready API since the last time we polled, generally 2 – 5 minutes, it gives us X ms. We take X ms divided by the Y polling interval difference in ms (now vs. then) and you get %Ready.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center