On Fri, 8 Aug 2003 11:35:58 -0700 (PDT), Jonathan Bartlett wrote
> > Uhm, does not look like I made your day ....
> 
> No, I was complaining about Sun Support employees not knowoing about
> Zombie processes.  It's not something that's focused on in books, but
> someone who works support at Sun should know better.
> 
> > [EMAIL PROTECTED] root]# ps aux | grep 27440
> > root     27440  0.0  0.0     0    0 ?        Z    07:38   0:00
> > [linksysmon-watc <defunct>]
> 
> ps -ef showns parents (PPID column), and ps afx shows it in an actual
> process tree.
> 
> > I now understand why it cannot be killed since it is already dead.
> >
> > Just for education purposes; however, how do I find the zombie's parent
> > processes to kill them?

Thank you kindly, it has been a very useful education.

28538 ?        S      0:03 /usr/bin/perl /usr/sbin/linksysmon
28539 ?        S      0:00  \_ sh -c /usr/sbin/snmptrapd -C -P -F "%A
%y-%02.2m-%02.2l %02.2h:%02.2j:%02.2k %v\n" 2>&1 1>/28540 ?        S      0:32
 |   \_ /usr/sbin/snmptrapd -C -P -F %A %y-%02.2m-%02.2l %02.2h:%02.2j:%02.2k %v\n
27440 ?        Z      0:00  \_ [linksysmon-watc <defunct>]

[EMAIL PROTECTED] root]# service linksysmon restart
Stopping linksysmon
Starting linksysmon

30223 pts/1    S      0:00 /usr/bin/perl /usr/sbin/linksysmon
30224 pts/1    S      0:00  \_ sh -c /usr/sbin/snmptrapd -C -P -F "%A
%y-%02.2m-%02.2l %02.2h:%02.2j:%02.2k %v\n" 2>&1 1>/30225 pts/1    S      0:00
     \_ /usr/sbin/snmptrapd -C -P -F %A %y-%02.2m-%02.2l %02.2h:%02.2j:%02.2k %v\n

My, that was easy ....

Now I can watch to see if a linksysmon-watch call results in a zombie.

Wow!

Thanks.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to