VMware Cloud Community
MrVmware9423
Expert
Expert
Jump to solution

Difference between TOP and ESXTOP command.

Dear VMware Experts,

I Just want to know the difference between TOP and ESXTOP command, once i run the top command or esxtop command i m getting the different CPU load statistics, following is the snap of the same.

perf (1).JPG

regards

Mr VMware

Reply
0 Kudos
1 Solution

Accepted Solutions
larstr
Champion
Champion
Jump to solution

u mean to say we won't be able to run "top" command ??

That is correct.

The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools.  Please
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # top
-sh: top: not found
~ #

Lars

View solution in original post

Reply
0 Kudos
7 Replies
larstr
Champion
Champion
Jump to solution

Mr VMware,

top only show stats for the virtual machine that you're seeing on the console of your ESX host also known as the Service Console. That's also why you're only seeing limited memory and a single cpu present.

esxtop is a customized version of (bsd) top that will give you statistics of the  virtual environment. esxtop is an excellent tool for getting detalied info on the environment of a single host.

For more information on esxtop please see here:

http://www.yellow-bricks.com/esxtop/

http://www.vreference.com/public/vReference-esxtop1.2.pdf

http://kb.vmware.com/kb/1008205

Good luck!

Lars

MrVmware9423
Expert
Expert
Jump to solution

Dear Lars,

Many thanks for the detailed  explanation.

One query,ESXi server won't have service console then if we run top command on an ESXi server then which statistics it shows????

Regards

MrVMware

Reply
0 Kudos
weinstein5
Immortal
Immortal
Jump to solution

Top will not run just for that very reason that there i no service console - 

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
MrVmware9423
Expert
Expert
Jump to solution

Thanks weinstein5 sir for ur prompt reply....

as per Lars if we run top command on ESX server it show the service console stats, what if we run top command in ESXi server ???

Regards

MrVMware.

Reply
0 Kudos
eeg3
Commander
Commander
Jump to solution

As weinstein5 was saying, top is not installed on ESXi:

~ # top
-sh: top: not found

Blog: http://blog.eeg3.net
Reply
0 Kudos
MrVmware9423
Expert
Expert
Jump to solution

Thanks egg3

u mean to say we won't be able to run "top" command ??

Regards

MrVMware.

Reply
0 Kudos
larstr
Champion
Champion
Jump to solution

u mean to say we won't be able to run "top" command ??

That is correct.

The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools.  Please
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # top
-sh: top: not found
~ #

Lars

Reply
0 Kudos