<html><div><font color="#0000ff" face="Verdana" size="2"></font> </div>Someone requested a list of orphaned and zombie processes.  I know that orphan processes have<br>PPID of 1 so I can <br><br>     ps -aeo user,pid,ppid,stime,time,state,command | awk '($3=="1" ||$6=="Z")'<br><br>But this will also print all system processes because they also have PPID of 1.<br>How can I find just the orphan processes<br>(without | grep -v mgetty | grep -v init | grep -v this | grep -v that | grep -v something_else | grep -v blahblahblah)?<br><jadhav.sukhdev@gmail.com><fedora-list@redhat.com><lunitik@gmail.com><fedora-list@redhat.com><wayward4now@gmail.com><fedora-list@redhat.com><wayward4now@gmail.com><fedora-list@redhat.com><wayward4now@gmail.com><fedora-list@redhat.com><foomp!><blam!><wayward4now@gmail.com><fedora-list@redhat.com><wayward4now@gmail.com><fedora-list@redhat.com><pmatilai@laiskiainen.org><fedora-list@redhat.com><alpine.deb.1.10.0804231141060.8744@gotcha.dreamhost.com><kam.leo@gmail.com><fedora-list@redhat.com><f84880b00804230152i7de58731k32188c2414cb5f24@mail.gmail.com><wayward4now@gmail.com><tony.molloy@ul.ie><fedora-list@redhat.com><wayward4now@gmail.com><billcrawford1970@gmail.com><fedora-list@redhat.com><wayward4now@gmail.com><dick.seabrook@gmail.com><fedora-list@redhat.com><billcrawford1970@gmail.com><wayward4now@gmail.com><phanback@yahoo.com><ndbecker2@gmail.com><funav3$oaf$1@ger.gmane.org><jes@martnet.com><funbpt$rfl$1@ger.gmane.org><joe ------------------------------="" message:="" 16="" date:="" wed,="" 23="" apr="" 2008="" 08:03:40="" -0500="" from:="" les="" mikesell=""><lesmikesell@gmail.com><fedora-list@redhat.com></fedora-list@redhat.com></lesmikesell@gmail.com></joe></funbpt$rfl$1@ger.gmane.org></jes@martnet.com></funav3$oaf$1@ger.gmane.org></ndbecker2@gmail.com></phanback@yahoo.com></wayward4now@gmail.com></billcrawford1970@gmail.com></fedora-list@redhat.com></dick.seabrook@gmail.com></wayward4now@gmail.com></fedora-list@redhat.com></billcrawford1970@gmail.com></wayward4now@gmail.com></fedora-list@redhat.com></tony.molloy@ul.ie></wayward4now@gmail.com></f84880b00804230152i7de58731k32188c2414cb5f24@mail.gmail.com></fedora-list@redhat.com></kam.leo@gmail.com></alpine.deb.1.10.0804231141060.8744@gotcha.dreamhost.com></fedora-list@redhat.com></pmatilai@laiskiainen.org></fedora-list@redhat.com></wayward4now@gmail.com></fedora-list@redhat.com></wayward4now@gmail.com></blam!></foomp!></fedora-list@redhat.com></wayward4now@gmail.com></fedora-list@redhat.com></wayward4now@gmail.com></fedora-list@redhat.com></wayward4now@gmail.com></fedora-list@redhat.com></lunitik@gmail.com></fedora-list@redhat.com></jadhav.sukhdev@gmail.com></html>