VMware

Virtual Performance

Scott Drummonds works in a variety of performance areas at VMware: VDI, application best practices, competitive analysis, customer performance investigations, and outward bound communications. This blog will detail some of my musings on these subjects.

Previous Next
11

My colleague in product management, Praveen Kannan, has been working to extend Perfmon to show some ESX performance counters. This capability is automatically installed with VMware Tools on vSphere 4. But Praveen and I have made a stand-alone version available to those of you that are still on VI3. Download it here to give it a try.

To install, place the file in an appropriately-named directory on any Windows VM on VI3. Double-click the executable, which will self-extract the files into the same directory. Run "install.bat" and you're done.

Once you bring up Perfmon you'll see two new performance objects on your computer: "VM Memory" and "VM Processor". These objects contain counters exposed by ESX that accurately reflect the VM's memory and CPU usage. Here's Perfmon on my test VM after I've installed the tool.

new_counters.png

This makes collection of host stats a breeze. Windows Management Instrumentation (WMI) programs can now easily get access to reliable host statistics. And anyone with access to Perfmon can get see their VM's resource usage. Unlike guest-based statistics, the host-statistics shown through these counters accurately reflect resource usage in the presence of virtualization overheads and time slicing of VMs.

Disclaimer:

This is a pre-release "sneak peak" version. Eventually this tool will be available for download on vmware.com and supported by VMware. But today there is no support for this tool and you're using it "as-is". Use at your own risk and do not contact VMware support for help with this release.
That's VMware's official position on this tool. But feel free to comment here with any ideas about this great new feature.



Jul 31, 2009 6:57 AM dmw1234

link to the tool doesn't work. is the tool still available?

Aug 3, 2009 10:32 AM drummonds VMware in response to: dmw1234

The temporary location that we are hosting the file from gets cleaned regularly. I have re-uploaded the file.

Scott

More information on my communities blog and on Twitter:
http://communities.vmware.com/blogs/drummonds
http://twitter.com/drummonds

Aug 17, 2009 3:02 AM pwcvmware in response to: drummonds

cannot download the tool. Maybe the file was cleaned up again?
Do you have another location where I can download the file?

Ronny

Aug 17, 2009 7:44 AM LMSSML in response to: pwcvmware

Link is broken !

Probably cleaned.

Is it possible to re-upload ?

Thanks in advanced.

Aug 17, 2009 9:11 AM drummonds VMware in response to: LMSSML

I have re-uploaded the file. Enjoy!

Scott

More information on my communities blog and on Twitter:
http://communities.vmware.com/blogs/drummonds
http://twitter.com/drummonds

Aug 17, 2009 10:00 AM pwcvmware in response to: drummonds

thanks Scott!

Aug 17, 2009 2:01 PM LMSSML in response to: LMSSML

thanks drummonds!

Sep 9, 2009 10:24 AM drummonds VMware

I have again uploaded the DLL, for those that are interested.

Scott

More information on my communities blog and on Twitter:
http://communities.vmware.com/blogs/drummonds
http://twitter.com/drummonds

Sep 23, 2009 2:40 AM Itzikr in response to: drummonds

hi,
are you aware of any bug, when even after upgrading to vsphere and after upgrading the vmware tools and the virtual hardware to ver 7, the counters are still missign


Itzik Reich

Solutions Architect

VCP,VTSP,MCTS,MCITP,MCSE,CCA,CCNA

EMC²

where Information Lives

If you find this information useful, please award points for "correct" or "helpful".

Oct 29, 2009 10:25 AM MartinWi

This is great stuff. Makes it easy with snmptools to get the values via snmp, and graph usage in Mhz via for example cacti.
I wonder though if there is anything similar to use with Linux(i.e. get the usage in Mhz from the virtual machine somehow)? The documentation about VMware Tools doesn't exactly provide much info.

Nov 9, 2009 2:22 PM praveen VMware in response to: MartinWi

MartinWi,

The counters we expose through Perfmon are built on top of the guest SDK. We currently don't have an equivalent tool on Linux that mirrors the ease of use of Windows Perfmon. However, you can probably leverage the guest SDK and write a tool/wrapper to get to the "accurate" CPU counters on Linux guests (w/ tools installed). See the documentation at http://www.vmware.com/support/developer/guest-sdk/. Both the 3.5 and 4.0 versions have the same counters that you are interested in.

Virtual Performance

Scott Drummonds works in a variety of performance areas at VMware: VDI, application best practices, competitive analysis, customer performance investigations, and outward bound communications. This blog will detail some of my musings on these subjects.

Communities