Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
What version of ESX are you running? –  JakeRobinson Jul 31 '10 at 5:39
add comment

1 Answer

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

share|improve this answer
    
It's possible to enable the ssh server on esxi using the unsupported console access . Then you can use esxtop on esxi too. –  Iain Jul 31 '10 at 8: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 1 '10 at 6:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.