July 28, 2008
12:46 am

There are a number of groups building management software (OEMs, Microsoft, …) for Hyper-V which is cool to see.  A common ask from these teams has been around reading and computing VM CPU usage.

The following is an example of how to compute Hyper-V guest processors usage.  You can use the same formula for “% Total Run  Time, “% Hypervisor Time” and “% Idle time”.   The counters show up in the Win32_PerfRawData_HvStats_HyperVHypervisorLogicalProcessor WMI object as “PercentGuestRunTime”, “PercentTotalRunTime”, “PercentHypervisorRunTime”, and “PercentIdleTime”.

Full Article

Loading

Contextual Related Posts:

No followup yet

Leave a Response

Comment Preview
« BizTalk best practice doc for running on Hyper-VWhy can’t I start VM with plenty of free memory? »
Feed Icon

Subscribe via RSS or email: