Just Another IT Blog

It's time to share some of my experiences, crazy ideas, tips and tricks !!!

Post Page Advertisement [Top]

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.

Bottom Ad [Post Page]