If you manage a virtual environment, you probably realized by now that, over time you need to figure out why your VM’s are not performing the way it should be, may be you need to prove the problem is not capacity/performance related or may be you just need to keep an eye on the health of your environment.
To help you guys, I will post a series of posts about esxtop and how to gather the data you need for an analysis.
The topics I will cover will be:
Esxtop 1/4 – esxtop basics
Esxtop 2/4 – accessing esxtop remotely
Esxtop 3/4 – exporting the data you collected
Esxtop 4/4 – scheduling it to run at a specific date/time
So, let’s start with the basics:
What’s esxtop ?
If you used Linux or Unix you should know the top command. Esxtop is the top version for ESXi and it’s used to analyze real time performance data.
How do why start it ?
- First, log in on the ESXi through putty/SSH (Remote Tech Support must be enable)
- Then, run esxtop command
You will realize there are a bunch of information, metrics, data, etc.
By default it will show will data about the CPU.
To switch between others views, like memory, disk and network just type corresponding letter bellow depending of what you want to see.
c = cpu
m = memory
n = network
d = disk adapter
u = disk device
v = disk VM
p = power states
You can also add extra fields to the view or remove some of the fields. To add/remove fields just type f.
Then you can select what fields you want to see, pressing ENTER will return you to the data screen.
Be aware that the changes will not persist if you close esxtop and open it later.
If you want to make that view persistent, so every time you open esxtop you will see the same selection of fields, after changing the fields of your view press W (it’s a caps W).
That’s it, every time you open esxtop you will see the same view and fields selected by default.
Now that you understand how to collect the performance data of your environment you will need to learn the must important thing, what they represent!!!
VMware has a good page about interpreting esxtop statistics, you will find valuable information about each metric and when they might be a problem.
But remember, those are just references, with hundreds of variables between environments it’s not always that the same value will indicate a problem.
The user perception is a good indicator to start with, my advice is to monitor your environment and take notes about the data, so you will understand, based on your own environment, what is a good and a bad metric.
See you next.
Wednesday, April 18, 2012
Esxtop 1/4 – esxtop basics
Marcadores:
esxtop,
performance
Who am I

- Eduardo Meirelles da Rocha
- I’m an IT specialist with over 15 years of experience, working from IT infrastructure to management products, troubleshooting and project management skills from medium to large environments. Nowadays I'm working for VMware as a Consulting Architect, helping customers to embrace the Cloud Era and make them successfully on their journey. Despite the fact I'm a VMware employee these postings reflect my own opinion and do not represents VMware's position, strategies or opinions. Reach me at @dumeirell

Most Viewed Posts
-
vRealize Automation 7.1 brings several new features and functionalities, while the community is covering the fanciest...
-
Have you tried to set up or change a root's password for an ESXi host and got the following error message: Weak...
-
If you just install VMware Converter and start running it with it’s default configuration, I’m sure you will be successfully. But, the...
-
During the past few weeks, my NSX partner in crime, the Sr. Consultant Anderson Duboc and I have been working on a NSX Reference Poster...
-
I have to admit since I started playing with PowerCLI I’ve been enjoying it more and more. A few weeks ago I needed to delete 50 VMs from t...
-
Do you know the LUNs on your environment might have different versions ? Yeah, that’s true!! To check tha LUN version, on the configuratio...
-
Once again I was working on a vSphere Site Recovery Manager project using vSphere Replication as a replication technology and had to exp...
-
Most of my time as a Consulting Architect at VMware Professional Services I spend with clients, helping them to create innovative solut...
-
Most of vCloud Director implementations I’ve worked on where multi-cells implementations behind a load balancer to distribute the load a...
-
VMware vSAN 6.2 Stretched Cluster & 2 Node Guide covers greatly all the network topologies supported and the configuration steps invo...

No comments:
Post a Comment