VSANTOP Command-Line Tool – New in vSAN 6.7 Update 3

I use ESXTOP a lot when Iโ€™m troubleshooting vSphere performance. With vSAN 6.7 Update 3, VMware added VSANTOP, a command-line tool that runs on ESXi hosts and shows real-time vSAN metrics.

I tried it in my lab to see what it could show and which shortcuts made it easier to use. VMwareโ€™s original reference was Using the vsantop Command-Line Tool.


Start VSANTOP

Open an SSH session to an ESXi host in the vSAN cluster and type vsantop in lowercase. VSANTOP opens in the host-domclient view.

[root@esxi:~] vsantop
The default host-domclient view in VSANTOP

Keyboard shortcuts

Press h or ? to show the help screen.

VSANTOP help showing Ctrl+L to redraw the screen and uppercase L to change the field width
KeyWhat it does
^L (Ctrl+L)Redraw the screen
SpaceUpdate the display
h or ?Show help and the command list
qQuit
f or FAdd or remove fields
o or OChange the order of the displayed fields
sSet the delay between updates in seconds
#Set the number of instances to display
E (uppercase)Change the selected entity type
L (Shift+L)Change the field width
l (lowercase)Limit the display to a specific node ID
.Sort by column. Enter the same number twice to change the sort order.

Choose an entity

Press uppercase E to open the entity list. Enter the number beside the one you want and press Enter. In my lab the choices ran from 1 to 40.

VSANTOP entity menu with numbered entity types

For example, I entered 39 to open vsan-vnic-net.

The vsan-vnic-net entity view in VSANTOP

Choose and arrange fields

Press f or F to see which fields are visible and add or remove metrics. You can display up to 10 fields.

VSANTOP field selection screen for adding and removing metrics

Press Shift+L to type uppercase L and change the field width. I widened the columns from 10 to 20 to make the metrics easier to read. Ctrl+L (^L) redraws the screen.

VSANTOP terminal showing the field width setting

Press o or O to change the order of the displayed fields.

VSANTOP field ordering screen

Examples from my lab

virtual-machine

VSANTOP virtual-machine entity metrics

clom-disk-stats

VSANTOP clom-disk-stats entity metrics

capacity-disk

VSANTOP capacity-disk entity metrics

cmmds-net

VSANTOP cmmds-net entity metrics

Prefer a dashboard? I also set up the vSAN Performance Monitor Fling to view vSAN metrics in Grafana.

One comment Add yours

Leave a Reply