If you have been a VMware admin for any period of time you have probably heard about esxtop, or maybe you have had really good luck and never needed it. Either way, I’ll go ahead and explain what esxtop is. But my real focus today is learning how to use the VisualEsxtop Fling from VMware labs, including how to install and run VisualEsxtop. This new tool brings a GUI to the popular command line tool.
[Editor’s note: VMware “Flings” are side projects by VMware Labs that are “…apps and tools built by our engineers that are intended to be played with and explored.” Learn more in this previous Petri article about VMware Flings.]
To make this as simple and clear as possible, esxtop is a command line-based tool from VMware. It is a very important tool for troubleshooting and gathering information about your environment. I’ve quoted a more detailed description below from the VMware site:
“Esxtop allows monitoring and collection of data for all system resources: CPU, memory, disk and network. When used interactively, this data can be viewed on different types of screens; one each for CPU statistics, memory statistics, network statistics and disk adapter statistics. In addition to the disk adapter statistics in earlier versions, starting with ESX3.5, disk statistics at the device and VM level are also available. In the batch mode, data can be redirected to a file for offline uses.”
VisualEsxtop is a creation from the internal VMware engineers that was released to the public via VMware Labs. This brings a Java-based GUI to the esxtop tool to make it easier to use for some users and adds some additional functionality.
Here is a short list of some of the new or simplified functions that VisualEsxtop brings to this important tool.
The good news is the tool is pretty simple to install. You first need to download the tool from the VMware Labs site. Once you have the file, follow the steps below and you will be running in no time.
export JAVA_OPTS=-Xmx2048m
visualEsxtop.sh
visualEsxtop.bat
The above instructions cover how to run VisualEsxtop if you are a Windows or Linux user, but what about us Apple users? The good news is that blogger William Lam worked his usual powers and created a tutorial on how to how to run VMware VisualEsxtop on Mac OS X.
First thing to do once launching the application is to choose an endpoint to which to connect. You can either connect directly to a vSphere host or a vCenter server. For the purpose of this demo, I connected directly to a single ESXi host.
Once connected, you can look at a variety of available stats at the host level to a per VM-based level. This offers many different views into the performance of your environment. There are 11 tabs across the top of the window to allow you to view the different stats.