VMware Cloud Community
Quiggley
Contributor
Contributor

pstree commands

I am trying to find the two pstree commands. There is one that will show you all the guests and their PIDs and another that will show you a specific guest and its PIDs. Anyone know the switch?

It's like pstree -? |grep "guestname"

0 Kudos
1 Reply
arisaperstein
Enthusiast
Enthusiast

ps -ef |grep .vmx will get you all the rthe PID's for your VM's

pstree -apu PIDNUMBER will show you the process tree if any

0 Kudos