System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: How to find the orphaned process

 
SOLVED
Go to solution
Highlighted
Occasional Advisor

How to find the orphaned process

Hi All

Can some body tell me how to find the orphaned process in Linux.

Regards
-Binu
3 REPLIES 3
Honored Contributor
Solution

Re: How to find the orphaned process

ps aux | awk '{ print $8 " " $2 }' | grep -w Z
Highlighted
Acclaimed Contributor

Re: How to find the orphaned process

>shreks84: grep -w Z

This looks like it finds zombies, not orphans.
Highlighted
Advisor

Re: How to find the orphaned process

Agree with Dennis.

I don't know if there's an easy way to find orphans, generally speaking. The init process becomes the father of orphan processes, but many processes are sons of init too in a natural way (like some daemons).