Looking at the VM Heartbeat with WMI
Friday, 13 October 2006 by Michel Roth
Virtual pc Guy comes with a script that returns all of the heartbeat related WMI counters for every virtual machine:

"Virtual Server also exposes a fair amount of information on the virtual machine heartbeat through WMI. The virtual machine heartbeat is generated by Virtual Machine Additions when it is installed inside the virtual machine. This script returns all of the heartbeat related WMI counters for each virtual machine:

Set vsWMIObj = GetObject("winmgmts:\\.\root\vm\virtualserver")
Set vms = vsWMIObj.ExecQuery("SELECT * FROM VirtualMachine",,48)
For Each vm in vms
Wscript.Echo "=============================================="
Wscript.Echo "Virtual machine: " & vm.Name
Wscript.Echo "Heartbeat Count: " & vm.HeartbeatCount
Wscript.Echo "Heartbeat Percentage: " & vm.HeartbeatPercentage
Wscript.Echo "Heartbeat Interval: " & vm.HeartbeatInterval
Wscript.Echo "Heartbeat Rate: " & vm.HeartbeatRate
Next"


Related Items:

Update for Windows Server 2003 (KB921181) (6 July 2006)
"Update Now" Switch To Use With WSUS (17 November 2005)
Setting The BIOS Boot Order Programmatically Under Virtual Server (21 April 2006)
Using WMI To Determine Memory Usage By Virtual Server (15 September 2006)
Scripting Automatic Startup For Virtual Machines Under Virtual Server (17 March 2006)
Displaying A Virtual Machine In A PowerPoint Presentation (27 May 2005)
VMware Announces Open Virtual Machine Format (OVF) (27 February 2008)
Aero Glass On A Windows Vista Virtual Machine (13 November 2006)
Expanding VHDmount (5 September 2006)
Virtual Machines Slow After Using Virtual Machine Importer? (8 November 2006)
Comments (0)