VMware Cloud Community
hortencio
Enthusiast
Enthusiast

Stucked VM Process

Hi,

I have a VM with an stucked process in one of the ESX servers of the cluster. I need to kill its processes but first I need to find which ESX host owns the stucked process.

I issued the command ps -eg | grep <vm_name> and it's not returning anything.

How do I do to find which ESX server is running the VM's process ? is there any specific command ?

Thanks in advance,

0 Kudos
4 Replies
nick_couchman
Immortal
Immortal

Try "esxtop" on each of the ESX server, or "resxtop" if you have the RCLI tools installed.

0 Kudos
hortencio
Enthusiast
Enthusiast

I found that the stucked file is the "vmware-5.log" when I try to delete it it says: Devide or resource busy.

How can I do to find where the process using this file is placed ? I already tried to ps aux | grep vmware-5.log but no findings.

Thanks in advance,

0 Kudos
Texiwill
Leadership
Leadership

Hello,

Check out http://www.itworld.com/security/54258/more-thoughts-forensics for a method to kill VMs from the CLI. Note that in the script in this blog entry you can substitute -9 for the -19 and things should still work.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
hortencio
Enthusiast
Enthusiast

Hi all,

I issue the command ps -efwww and I could see the full patch of the process.

Thanks for all the help !!

0 Kudos