Sunday, July 12, 2009

How to find and kill a hung VM on ESX 3.5

http://communities.vmware.com/message/245617;jsessionid=AC54B73461657AECCF0CB98763CE2C2C

First you must find the PID

ps auxfww | grep Name_of_the_VM

Then

Try first

vmware-cmd /path/to/config/file.vmx stop soft

try Second
vmware-cmd /path/to/config/file.vmx stop hard

kill Techniques:
kill

If the above doesn't work you may need to issue a kill –9

kill -9