VMware Cloud Community
universalknr
Contributor
Contributor

VMware ESXi Host High CPU Utilization

I've been noticing a spike in both RAM/CPU on one ESXi Host in particularly lately.  What can be done to an ESXi Host to target what is causing this?

0 Kudos
4 Replies
JagadeeshDev
Hot Shot
Hot Shot

use esxtop to find the utilization. ESXTOP - Yellow Bricks

http://www.myitblog.in/
0 Kudos
universalknr
Contributor
Contributor

this will work on an ESXi Host?

0 Kudos
universalknr
Contributor
Contributor

im confused at the syntax, when i enter esxtop i get a non-stop screen of information. 

I am thinking to commit something along the lines of esxtop -c -m -p -e -l, would this be correct?  But at what point do you submit the "capturing" esxtop commands?  I've read the document, but I feel it's missing some points.

0 Kudos
JagadeeshDev
Hot Shot
Hot Shot

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 >/tmp/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.


Once the command has executed use winscp to browse to /tmp and transfer the file to your desktop


http://www.myitblog.in/
0 Kudos