Manage ESXi VM Processes with CLI: Difference between revisions

From LinuxizeNet
No edit summary
(Remove inert legacy #ae8c55 wrapper (superseded by site CSS))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{clear}}
Get World ID of VM
Get World ID of VM


Line 12: Line 13:


See also [[Power on a virtual machine from ESXi cli]]
See also [[Power on a virtual machine from ESXi cli]]
[[Category:ESXi]]

Latest revision as of 21:02, 9 August 2026

Get World ID of VM

   esxcli vm process list | grep -A 2 <VM Name>

To kill unresponsive VM

   esxcli vm process kill --type=soft --wordld-id=<WorldID>

If this does not help:

   esxcli vm process kill --type=hard --wordld-id=<WorldID>

If all os so bad then as a last resort:

   esxcli vm process kill --type=force --wordld-id=<WorldID>

See also Power on a virtual machine from ESXi cli