How to get Hyper-V's individual VM (guest OS) specific performance data RRS feed

  • Question

  • Hi,

    I am working on a small project revolving around Hyper-V performance monitoring.

    Primarily I am interested in collecting a few routine performance data for individual VMs (say VM1, VM2) on the Hyper-V box such as

     - VM1 CPU utilization (say 30% at time T1).
     - VM2 Disk I/O (say Read I/O = 123 KB/Sec at time T1)
     - VM1 Network utilization (say 12% at time T1)
     - VM2 Memory utilization (say 123 MB in use out of 512 MB at time T1)

    This info needs to be collected from the host OS (from the root partition). I know about few WMI classes like “Msvm_ComputerSystem”, similarly a few perfmon counters such as "Hyper-V Hypervisor Virtual Processor" which could let me do it programmatically. These details are limited. I need info on all resources such as CPU, Memory, Disk IO, and Network performance for each individual VM (and not just the root partition).

    Are there any SDKs, WMI/CIM classes, performance counters which could be used to extract performance numbers of individual Hyper-V guest OSes, comprehensively.

    Thursday, February 3, 2011 11:41 AM