Information found on various places about how to stop a hung/frozen or otherwise unresponsive virtual machine.
Use any SSH-client to connect to the service console of the host running the VM.
Nice way:
List virtual machines and worlds.
vm-support -x
Run support script to shutdown/kill the machine and collect troubleshooting data.
vm-support -X worldid
Note that the parameter (-x -X) is case sensitive.
Other ways:
List virtual machines:
vmware-cmd -l
Try stopping softly
vmware-cmd /vmfs/volumes/datastorename/vmname/vmname.vmx stop trysoft
Try stopping hard
vmware-cmd /vmfs/volumes/datastorename/vmname/vmname.vmx stop hard
Since neither of those ever worked for me in a hung/frozen VM I’ve always had to resort to killing the VM:s process (PID) by hand.
Try:
ps auxfww | grep vmname
kill -9 PID
Where vmname is the name of your VM and PID is the process ID.
If you use the last method you may have to do some manual cleaning. I’ve had to remove .swp file from the VM:folder on a few occasions.
It is also a good thing to do a service mgmt-vmware restart when troubleshooting troublesome virtual machines.