Friday 22 March 2013

esxtop, batch mode & perfmon

VMware article KB article 1008205esxtop "Bible" from VMware

Create .esxrctoprc file for either VM disk collection or Disk collection mode.

Initiate the batch mode esxtop collection from the CLI on the ESXi host:
~ # date ; esxtop -c /.esxtopdisk-rc -b -d 5 -n 8640|gzip -9c >/vmfs/volumes/lun/esxihost-disk.csv.gz ; date

Then run the collection again using the other .esxtoprc file.

Counters are explained in terms that don't map directly from ESX docs and Windows Perfmon:

Copy the esxtop CSV file, unzip it and open it from Windows Perfmon by clicking on Monitor window and Properties, Source tab and Data Source Logfile (browse and select your .CSV file here).  Then go to Data Source and Add to select fields. I chose:

Physical Disk > Commands/sec
Physical Disk > Average Guest Milisec/Command
Physical Disk SCSI Device > Commands/sec
















Disk Collection Stats Displayed in Perfmon: