From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 02:34:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2D4416A4CF; Tue, 30 Mar 2004 02:34:09 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2013943D49; Tue, 30 Mar 2004 02:34:09 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i2UAY8Fs047742; Tue, 30 Mar 2004 14:34:08 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i2UAY7lU047737; Tue, 30 Mar 2004 14:34:07 +0400 (MSD) (envelope-from ache) Date: Tue, 30 Mar 2004 14:34:07 +0400 From: Andrey Chernov To: Tim Robbins Message-ID: <20040330103407.GB47518@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Tim Robbins , gad@freebsd.org, current@freebsd.org References: <20040330084711.GA44887@nagual.pp.ru> <20040330090619.GA49822@cat.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040330090619.GA49822@cat.robbins.dropbear.id.au> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.24.0.7; VDF 6.24.0.75 (host: pobrecita.freebsd.ru) cc: current@freebsd.org cc: gad@freebsd.org Subject: Re: pgrep strangeness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 10:34:10 -0000 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/