Manage ESXi VM Processes with CLI: Difference between revisions
From LinuxizeNet
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div style = "line-height: 1.2"> | |||
{{clear}}</div></div><div style = "margin-top: 1.5em; border: 3px solid #ae8c55; border-radius: .5em; padding: 1em 1.5em; font-size: 1.2em"> | |||
<strong></strong> | |||
Get World ID of VM | Get World ID of VM | ||
Revision as of 03:50, 19 January 2024
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>