Alan's sysadmin Blog

Working smarter not harder

Archive for September, 2009

Terminating a stuck VM on ESX

Posted by Alan McBurney on September 1, 2009

One of the VM’s had got itself hung and wouldn’t power off correctly.

Getting the PID (Process ID) of the stuck VM and terminating it from the CLI worked for me.

Try the following command to resolve the issue

ps auxfww | grep <vmname>

The first number to appear in the output is your PID. The PID can be used to terminate the process by issuingĀ kill -9 PID.

Posted in VMware | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 153 other followers