pgrep strangeness

Andrey Chernov ache at nagual.pp.ru
Tue Mar 30 02:34:10 PST 2004


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/


More information about the freebsd-current mailing list