oprhan/zombie processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Someone requested a list of orphaned and zombie processes.  I know that orphan processes have
PPID of 1 so I can

     ps -aeo user,pid,ppid,stime,time,state,command | awk '($3=="1" ||$6=="Z")'

But this will also print all system processes because they also have PPID of 1.
How can I find just the orphan processes
(without | grep -v mgetty | grep -v init | grep -v this | grep -v that | grep -v something_else | grep -v blahblahblah)?
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux