8

I've installed a Hyper-V role onto my Windows 2008 R2 Server. I have a bunch of VMs cranking at full speed, but the Task Manager on the host doesn't show any CPU activity from the VMs.

This kind of makes it difficult to quickly gauge the overall business of the host box and is annoying.

Is there an option somewhere either in the UI or registry or wherever else for the Task Manager to include the CPU Usage from the VMs?

2 Answers 2

12

Hyper-V is not something that runs within Windows. It's a bare metal Hypervisor. The OS that used to be installed on the machine is actually now a VM. It's a special VM in that it has direct access to the hardware, doesn't show up in Hyper-V's management console, and other such; but it's still now a VM. So it doesn't get to see what the other machines are doing any more than they can see it.

Since Hyper-V still uses the base OS for servicing disk and network IO, you can pull those numbers from PerfMon. The Memory and Processor numbers obtains from PerfMon are skewed however and should be taken with a grain of salt.

3
  • +1 for the not so obvious truth. Try measuring the boot time of 2 identical hardware nodes, one with Hyper-V and one without. You'll see that the Windows boots on a non-hypv faster, because the Hyper-V server waits for the hyporvisor to initialize before proceeding with the parent OS (which is actually virtual, as Chris points out) Commented Mar 2, 2012 at 20:14
  • 3
    Wow, you just blew my mind. Had no idea. Commented Mar 2, 2012 at 21:32
  • Note that newer versions now show the total CPU load, including VMs. see: learn.microsoft.com/en-us/answers/questions/1180728/… Commented May 24 at 9:37
6

You need to use Performance Monitor. The counters also can only be seen from the Host operating system (not the other vm's).

Here is a specific article on the subject from Microsoft.

2
  • There is no specific option to add that into TaskManager.
    – user93204
    Commented Mar 2, 2012 at 20:11
  • 1
    That is true there is no way to accomplish what you want to do with Task Manager, but as I stated you can do it with perfmon.
    – Nate
    Commented Mar 2, 2012 at 20:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .