VMware vSphere/ESXi operations reference for VMs, snapshots, datastores, networking, storage, services, logs and maintenance checks.
Host status
vmware -vlConfirms build before comparing compatibility or KBs.
esxtopPowerful interactive tool; use carefully and quit with q.
esxcli hardware platform getShows vendor, model and host UUID.
esxcli system service listChecks ESXi services and startup policy.
Virtual machines
vim-cmd vmsvc/power.getstate VMIDConfirms state without vCenter.
vim-cmd vmsvc/get.guest VMIDDepending on version, provides guest/tools information.
Correlate migrations, snapshots, resets or errors with incident time.
Snapshots
vim-cmd vmsvc/snapshot.get VMIDChecks snapshot presence and hierarchy.
Old snapshots can grow and hurt storage/performance.
Do not manually delete delta VMDKs.
Consolidation can create significant I/O load.
Datastores
esxcli storage filesystem listShows capacity, free space, type and mount state.
A full datastore can break snapshots, VMs and consolidation.
esxcli storage nfs listChecks NFS mounts.
esxcli storage vmfs extent listMaps VMFS datastores to devices/partitions.
Storage & paths
esxcli storage core device listShows devices, model and status.
esxcli storage core path listChecks active/dead paths and multipathing.
esxcli storage core adapter listLists storage adapters.
Look for APD/PDL, path failures and latency.
Network
esxcli network nic listChecks link, speed, duplex and driver.
esxcli network ip interface ipv4 getShows vmkernel IP configuration.
esxcli network ip route ipv4 listChecks gateways and static routes.
vmkping -I vmk1 192.168.20.10Tests from a specific VMkernel interface.
Useful logs
Storage, networking, drivers and kernel.
Local host management and VM operations.
Communication between ESXi and vCenter.
Authentication and shell access depending on version.
Before maintenance
Do not confuse VMware snapshots with backups.
Ensure the cluster can absorb host evacuation.
Blocked vMotion can prevent maintenance mode.
Address pre-existing alarms before creating a new event.
Key points
- A VMware snapshot is not a backup.
- Never manually delete VMDK/delta files to free space.
- Before maintenance, verify cluster capacity and datastore health.
- ESXi commands vary by version and shell availability.