1

We have a number of ESX Servers connected to various iSCSI Targets and I want to do a consolidation exercise so want to get an idea of the current level of IOPS each of our servers uses.

I tried running

$start = Get-Date "2010-07-25 10:00:00"
$finish = Get-Date "2010-07-26 10:00:00"
$esx = Get-VMHost <ESX-hostname>
get-stat -entity $esx -stat disk.numberRead.summation -start $start -finish $finish

But get the error

The metric counter "disk.numberread.summation" doesn't exist for entity "esx1.zoo.lan"

despite the documentation implying that the counter does exist.

Anyone done anything similar. Even if I can get the data on a per-VM or even per-LUN bassis that would be fine as I could just sum it up in a spreadsheet

Phil
  • 3,168
  • 1
  • 22
  • 29

1 Answers1

1

if you are running ESX, and not ESXi, you can ssh to the ESX host and run

# esxtop

Press 'u' to get to the storage view, and 'v' to get to the VM view.

Esxtop bible is here: http://communities.vmware.com/docs/DOC-9279

How to log esxtop output is here: http://www.b3rg.nl/blog/blog-it/performance-logging-on-esx-using-esxtop.html

JakeRobinson
  • 2,904
  • 18
  • 26
  • It's possible to enable the ssh server on esxi using the [unsupported console access](http://professionalvmware.com/2009/05/unsupported-console-and-ssh-on-esxi-4/) . Then you can use esxtop on esxi too. – user9517 Jul 31 '10 at 08:33
  • Good call! If you'd prefer a supported way, you can also run "resxtop" from a linux remote CLI, or VIMA(vMA) appliance! – JakeRobinson Aug 01 '10 at 06:14