From owner-freebsd-stable@FreeBSD.ORG Tue Nov 27 20:14:22 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92AC116A41A for ; Tue, 27 Nov 2007 20:14:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8059B13C474 for ; Tue, 27 Nov 2007 20:14:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 6B2A91CC079; Tue, 27 Nov 2007 12:14:22 -0800 (PST) Date: Tue, 27 Nov 2007 12:14:22 -0800 From: Jeremy Chadwick To: Stephen Montgomery-Smith , Honza Holakovsky , freebsd-stable@freebsd.org Message-ID: <20071127201422.GA68845@eos.sc1.parodius.com> References: <20071126190720.GD19393@slackbox.xs4all.nl> <20071127161645.GA55166@slackbox.xs4all.nl> <20071127132339.C10340@cauchy.math.missouri.edu> <20071127195906.GB60210@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071127195906.GB60210@slackbox.xs4all.nl> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: Some processes stay active after killing its PID X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 20:14:22 -0000 On Tue, Nov 27, 2007 at 08:59:06PM +0100, Roland Smith wrote: > On Tue, Nov 27, 2007 at 01:24:56PM -0600, Stephen Montgomery-Smith wrote: > > On Tue, 27 Nov 2007, Honza Holakovsky wrote: > >> Well, didn't know that, "/bin/kill -9 wdfs_PID" works, great > >> > >> Thanks a lot, after your advice I read an article about csh built-in > >> commands, never heard of it from any fbsd handbook... > > > > I am completely baffled why this worked. Why would /bin/kill -9 work when > > the built in csh kill -9 wouldn't? > > According to the manual page for the built-in kill command, it > recognizes 'kill -s 9', but not 'kill -9'. What's even more awesome is that the csh manpage actually refers to the use of the kill -[signal] syntax: or from a command run at completion time: > complete kill 'p/*/`ps | awk \{print\ \$1\}`/' > kill -9 [^D] 23113 23377 23380 23406 23429 23529 23530 PID Hooray for consistency. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |