From owner-freebsd-stable@FreeBSD.ORG Wed Nov 28 00:08:35 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 8895F16A468 for ; Wed, 28 Nov 2007 00:08:35 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (unknown [IPv6:2001:5c0:8fff:fffe::214d]) by mx1.freebsd.org (Postfix) with ESMTP id 483AA13C478 for ; Wed, 28 Nov 2007 00:08:35 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1IxATg-000NON-OF; Tue, 27 Nov 2007 19:08:32 -0500 Date: Tue, 27 Nov 2007 19:08:32 -0500 From: Gary Palmer To: Stephen Montgomery-Smith , Honza Holakovsky , freebsd-stable@freebsd.org Message-ID: <20071128000832.GA89600@in-addr.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> 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: Wed, 28 Nov 2007 00:08:35 -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'. The man page is wrong % xcalc & [1] 4730 % kill -BUS 4730 % [1] Bus error xcalc % xcalc & [1] 4731 % kill -10 4731 % [1] Bus error xcalc % echo $SHELL /bin/tcsh % LSOF shows I'm using the system tcsh, and AFAIK it behaves the same for being invoked as both /bin/csh and /bin/tcsh Gary