Manage ESXi VM Processes with CLI

From LinuxizeNet
Revision as of 03:23, 19 January 2024 by Datanasov (talk | contribs) (Created page with "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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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