Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vmware:tip:killvm [2016/02/10 18:38] – angelegt jsvmware:tip:killvm [2021/02/05 09:53] (current) js
Line 1: Line 1:
 ===== kill corrupt vm ===== ===== kill corrupt vm =====
 +
 +=== esxicli ===
  
 first get the world id - login to esxi ssh console and run cmd: first get the world id - login to esxi ssh console and run cmd:
Line 13: Line 15:
 Then you can kill the process of this vm and unregister it: Then you can kill the process of this vm and unregister it:
 <code bash>esxcli vm process kill --type=force --world-id=387290</code> <code bash>esxcli vm process kill --type=force --world-id=387290</code>
 +
 +=== vim-cmd ===
 +List of VMs:
 +<code>vim-cmd vmsvc/getallvms</code>
 +
 +Kill:
 +<code>esxcli vm process kill --type=force --world-id=2103017</code>
 +
 +