Operating System - Linux
1753452 Members
5803 Online
108794 Solutions
New Discussion юеВ

How to find the orphaned process

 
SOLVED
Go to solution
Kadavan
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
Sree_CMS
Honored Contributor
Solution

Re: How to find the orphaned process

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

Re: How to find the orphaned process

>shreks84: grep -w Z

This looks like it finds zombies, not orphans.
JL Martinez
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).