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
Thanks for reading!!!!
Read, Learn and Share…!!!
I am Rahul Sharma, I am currently working as Subject Matter Expert for SDDC and Cloud Infrastructure Services, Mainly on VMware Virtualization Platform.
I have 9 Year’s of IT experience and have expertise in Designing and Deploying of VMware vSphere, vSAN, vCloud Director, vRealize Automation, SRM, NSX and modern data center technologies like vBlock, Cisco UCS, DELL, HPE C7000, HPE Synergy HCI etc.
I am vExpert, VCIX6-DCV, Dual VCP – DCV & NV, MSCE – Cloud, CCNA, ITIL v3 Certified.