ESXTOP – Batch Mode

By | November 12, 2016

Batch mode – Statistics can be collected  and output can be saved in a file (csv) and  also  it can be viewed & analyzed using windows perfmon & other tools in later time.

To run esxtop in batch mode and save the output file for feature analysis use the command as in in below syntax

esxtop -b -d 10 -n 5 >/home/mohammedk/esxtstats.csv

d Switch is used for the number of seconds between refreshes

n switch is the number of iterations to run the esxtop

In our above example, esxtop command will run for about 50 seconds. 10 seconds dealy* 5 iterations.

( >/home/mohammedk/esxstats.csv) redirecting the output of above esxtopstats into csv file to store in the location  /home/mohammedk/esxstats.csv

Once the command completed, Browse towards the location /home/mohammedk to see the esxtop output file “esxstats.csv”. Transfer the csv file using winscp to your windows desktop and analyze using windows perfmon or esxplot.

Please refer my other posts on Esxtop

ESXTOP — Overview

ESXTOP – Interactive Mode

ESXTOP – Reply Mode

Thanks for reading!!!!

Read, Learn and Share…!!!

Leave a Reply

Your email address will not be published. Required fields are marked *