18 June 2011 ~ 5 Comments

VMware ESXTOP Commands for Storage Monitoring

VMware ESXTOP Commands for Storage Monitoring

Let me just say that lately I’ve been spending way too much time learning about storage. The differences between 3PAR, HP, EMC, Lefthand and NetApp. How to configure, how to carve it, aggregates, LUN, spindle, IOPS, volumes, RAID groups, disk group, parity groups, queue depth, dedupe, replication, snapshot, and so on.

I thought I’d post some useful CLI ESXTOP commands to help with monitoring storage for when you start having performance problems resulting from over subscribed storage.

1. Monitor overall storage performance per HBA:

esxtop

d

f

b,c,d,e,h,j

s,2

2. Monitor storage performance per LUN: *

esxtop

u

f

b,c,f,h

s,2

3. Monitor storage performance per VM: *

esxtop

v

f

b,d,e,h,j

s,2

* These options are only available in ESX 3.5 and greater.

The columns we are going to pay attention to are CMDS/s, DAVG/cmd, KAVG/cmd and GAVG/cmd. Below is a brief description of each of these
values.

CMDS/s:

This is the number of IOPS or Input/Output Operations Per Second being sent to or coming from the device or VM being monitored.

DAVG/cmd:

This is the average response time in milliseconds per command being sent to the device.

KAVG/cmd:

This is the amount of time the command spends in the VMkernel.

GAVG/cmd:

This is the response time as it is perceived by the guest OS.

VMinstall.com

Similar Posts:

5 Responses to “VMware ESXTOP Commands for Storage Monitoring”

  1. chuck farah 28 October 2009 at 8:39 am Permalink

    what do these do?
    b,c,d,e,h,j is there any documentation that shows or tells you what these mean…i could not find anything on vmwares web site…

  2. editor 29 October 2009 at 7:37 am Permalink

    Thanks for the comment Chuck, here’s a couple links to documents on using ESXTOP.

    http://www.vmware.com/pdf/esx2_using_esxtop.pdf
    http://www.vmware.com/pdf/vi3_301_201_resource_mgmt.pdf
    Also you can man esxtop from the CLI to get more info.

    Hope this helps.

  3. harsha 29 March 2010 at 5:09 am Permalink

    Hi,
    Want to know if there is a way to configure esxtop so that we can gather statistics on a particular device and not on all the devices when we use ‘u’ in interactive mode.

  4. titomane 20 January 2012 at 7:36 am Permalink

    Hi,

    nice job, a little criptic but after trying everything is evident you made me think not apply ;)

    sheers,


Leave a Reply