Monitoring load CPU in a virtual machine

Monitoring load CPU in a virtual machine

Good afternoon.
Has come up against such situation, the request to help to solve it:

We have a server with two CPUs and 6 cores in each processor, a total of 12 cores obtained.

On this server we have installed Hyper-V and  install and start two virtual machines(Win2008 R2 Enterprise)   with 4 CPUs on each virtual server (it is maximum for Hyper-V 2008 R2).

We add   Hyper-V server and two virtual servers Sindowse Server 2008 R2 in to OpManager v.9011.
But once discovered that a class uses opmanager Win32_Protsessor that does not work correctly for multi-core CPU .
I searched the Internet and discovered that you can use the class Win32_PerfFormattedData_PerfOS_Protsessor and parameters: name and PercentProcessorTime.

Please suggest whether I have changed or have any ready-made scripts for monitoring utilization of virtual multi-core systems.



P.S.I have atached a text file which is the changed file cpu.vbs.

                  New to ADSelfService Plus?