httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] ps in apachectl
Date Thu, 25 Jun 1998 20:09:39 GMT
Jens-Uwe Mager wrote:
> 
> On Thu, Jun 25, 1998 at 12:58:03PM -0700, Wilfredo Sanchez wrote:
> 
> > >I don't see "kill -0 $pid" as worse than "ps -p"... so I'm going to
> > >change to that and see what breaks.
> > 
> > What's this supposed to do?
> > 
> > Not documented in FreeBSD's man page for kill.
> 
> >From the rhapsody kill(2) man page:
> 
>      The kill() function sends the signal given by sig to pid, a process or a
>      group of processes.  Sig may be one of the signals specified in sigac­
>      tion(2) or it may be 0, in which case error checking is performed but no
>      signal is actually sent.  This can be used to check the validity of pid.
> 

This is also the case for many SysV variants as well.

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message