monit-dev
[Top][All Lists]
Advanced

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

Re: solaris and kill(pid, 0)


From: Oliver Jehle
Subject: Re: solaris and kill(pid, 0)
Date: 23 Oct 2002 09:47:37 +0200

what about getpgid ...

i think, when runnig, the you get a EPERM, or a valid id, when not
running you get a ESRCH or EINVAL


 

On Wed, 2002-10-23 at 09:35, Christian Hopp wrote:
> Hi!
> 
> kill(pid, 0) does not work on Solaris if you do not own the process! )-:
> There must be a different possibility to find out if a process is running
> or not.
> 
> C.Hopp
> 
> 
> -- 
> Christian Hopp                                email: address@hidden
> Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
> Technische Universität Clausthal                         fax: +49-5323-72-3197
>   pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc  (2001-11-22)
> 
> 
> 
> _______________________________________________
> monit-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/monit-dev
-- 
Oliver Jehle                    
Monex AG
Föhrenweg 18
FL-9496 Balzers

Tel: +423 388 1988
Fax: +423 388 1980

----
I've not lost my mind. It's backed up on tape somewhere.
----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]