VMware Cloud Community
danpalacios
Hot Shot
Hot Shot
Jump to solution

Guest that will not die

I had an admin trying to install linux on a guest using a cd and floppy connected from her local machine. She had some issues and so we disconnected the floppy and the cd and hit the "shut down" button. The guest then hung in shutdown. VC showed the task time out, but we cannot initiate any further actions to it (stop restart migrate etc) because it says it is busy. Any ideas on how I can kill this process without taking down the whole host? Is there a way to identify the offending process and kill it?

0 Kudos
1 Solution

Accepted Solutions
ctfoster
Expert
Expert
Jump to solution

Log into your COS as root and list currently running processes:

ps -ef | grep <vm name>

..or just ps -ef and run down the list looking for your VM.

After you have found it record it's PID (Process ID).

Then kill it with a kill -9 command

kill -9 <PID no>

View solution in original post

0 Kudos
3 Replies
ctfoster
Expert
Expert
Jump to solution

Log into your COS as root and list currently running processes:

ps -ef | grep <vm name>

..or just ps -ef and run down the list looking for your VM.

After you have found it record it's PID (Process ID).

Then kill it with a kill -9 command

kill -9 <PID no>

0 Kudos
danpalacios
Hot Shot
Hot Shot
Jump to solution

That did it, thanks! I needed to use ps -ef | more in order to see which guests were associated with the pids. Once I got that straight - the kill process did the trick.

0 Kudos
ctfoster
Expert
Expert
Jump to solution

Sure - the list can get pretty long. Glad it worked out. Thanks for the points.

0 Kudos