Re: pgrep strangeness

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Tue, 30 Mar 2004 14:34:07 +0400
On Tue, Mar 30, 2004 at 07:06:19PM +1000, Tim Robbins wrote:
> >   547  ??  Ss     7:48,83 /usr/local/sbin/sentinel -v1 -c /usr/local/etc/sentinel
> 
> I think this is the same bug I fixed in killall a while ago -- it uses
> KERN_PROC_ALL, which returns an entry for each thread in the process,
> instead of KERN_PROC_PROC.

I can't say is it the reason, but yes, sentinel _is_ multi-threaded.

-- 
Andrey Chernov | http://ache.pp.ru/
Received on Tue Mar 30 2004 - 00:34:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC