From owner-freebsd-stable@FreeBSD.ORG Wed Nov 28 08:10: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 1DA6416A418; Wed, 28 Nov 2007 08:10:22 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id A5C4413C469; Wed, 28 Nov 2007 08:10:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lARKdvRC037252; Tue, 27 Nov 2007 15:39:57 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-stable@FreeBSD.org Date: Tue, 27 Nov 2007 15:39:53 -0500 User-Agent: KMail/1.6.2 References: <20071127195906.GB60210@slackbox.xs4all.nl> <20071127201422.GA68845@eos.sc1.parodius.com> In-Reply-To: <20071127201422.GA68845@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711271539.54884.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/4933/Tue Nov 27 14:10:57 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Jeremy Chadwick , Honza Holakovsky 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: Wed, 28 Nov 2007 08:10:22 -0000 On Tuesday 27 November 2007 03:14 pm, Jeremy Chadwick wrote: > 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. I just checked the source and 'kill -9' should work, too. I believe it was fixed on RELENG_7, i.e., tcsh 6.15a. RELENG_6 still has 6.14. Jung-uk Kim