Re: [semi-OT]: finding process which is defunct

"Toby Betts" <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
MagicalTux wrote:
> Selon Brian Reichert <[email protected]>:
> 
>>On Wed, Mar 24, 2004 at 07:35:37PM +0000, Payal Rathod wrote:
>>
>>>Hi,
>>>Just looking at ps waux I found a process which was defunct. How do I
>>>know which program is being run?
>>>
> Zombie processes don't change PID, so it looks like it's not the same
> everytime...
> 
> I think you have something that runs tcpserver and restart it when it dies
> (daemontools ?). So it's always restarted when it dies.

If it is the case that tcpserver is being started improperly, leaving a 
zombie process, and then being restarted by daemontools, identifying 
which service is doing so should only be a matter of running "svstat 
/service*" and seeing which service is up for 0 or 1 seconds.


Toby
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.