Fetch system information using esxtop

System information can be fetched from esxtop command as well, without login to VC .

esxtop is one of the command which gives many information about esx hypervisor. A good system admin can get information system health, issues, system important information from esxtop.

By default in we run esxtop command, it shows CPU information.

9:36:32am up 24 days  1:13, 579 worlds, 5 VMs, 20 vCPUs; CPU load average: 0.01, 0.01, 0.01

PCPU USED(%): 2.7  0.3  0.4  0.0  0.4  0.9  0.4  0.3  1.5  0.1  0.5  0.3  0.6  0.4  0.2  0.4  AVG: 0.6

PCPU UTIL(%):  4.8  1.2  1.5  0.4  0.9  1.7  0.9  1.4  2.7  0.2  1.0  0.5  1.0  0.9  0.6  0.7  AVG: 1.3

CORE UTIL(%): 5.2     1.3     2.5     1.7     2.9     1.4     1.8     1.1     AVG: 2.3

Check the uptime:

up 24 days  1:13

 Total number of LCPU: Count the number [16], means system has 16 Logical CPU

PCPU USED(%): 2.7  0.3  0.4  0.0  0.4  0.9  0.4  0.3  1.5  0.1  0.5  0.3  0.6  0.4  0.2  0.4

PCPU UTIL(%):  4.8  1.2  1.5  0.4  0.9  1.7  0.9  1.4  2.7  0.2  1.0  0.5  1.0  0.9  0.6  0.7  

Total number of Cores: total core in this hypervisor is 8

CORE UTIL(%): 5.2     1.3     2.5     1.7     2.9     1.4     1.8     1.1  

We can easily make it out, that system is hyper threading enable, since LCPU is 16 and cores are 8.

 Number of powered on vm and consumed total number of vcpu by powered on vm:

5 VMs, 20 vCPUs

If you want to fetch the memory information: run esxtop and press m

Total physical memory in hypervisor [24GB]:

PMEM  /MB: 24565

Memory assigned to powered-on vm:

NAME   MEMSZ

 AD          8192.00

Which vm is connected to which nic port: esxtop and press n

USED-BY       TEAM-PNIC       DNAME

 AD                       vmnic1           vSwitch0

 

amit
Working as an Architect, Infra designer. If any query related to Infra Design [related to cloud,vmware,openstack], please write: amit@openwriteup.com