Date: Tue, 27 Nov 2007 15:39:53 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-stable@FreeBSD.org Cc: Jeremy Chadwick <koitsu@FreeBSD.org>, Honza Holakovsky <holakac@gmail.com> Subject: Re: Some processes stay active after killing its PID Message-ID: <200711271539.54884.jkim@FreeBSD.org> In-Reply-To: <20071127201422.GA68845@eos.sc1.parodius.com> References: <f996cc420711260730n1b226483la2b813753f9496f8@mail.gmail.com> <20071127195906.GB60210@slackbox.xs4all.nl> <20071127201422.GA68845@eos.sc1.parodius.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711271539.54884.jkim>