From owner-freebsd-isp Tue Oct 31 4:47:54 2000 Delivered-To: freebsd-isp@freebsd.org Received: from bilver.wjv.com (dhcp-1-24.n01.orldfl01.us.ra.verio.net [157.238.210.24]) by hub.freebsd.org (Postfix) with ESMTP id 3E08537B479 for ; Tue, 31 Oct 2000 04:47:50 -0800 (PST) Received: (from bill@localhost) by bilver.wjv.com (8.9.3/8.9.3) id HAA08452 for freebsd-isp@freebsd.org; Tue, 31 Oct 2000 07:47:49 -0500 (EST) (envelope-from bill) Date: Tue, 31 Oct 2000 07:47:46 -0500 From: Bill Vermillion To: freebsd-isp@freebsd.org Subject: Re: Logging users out Message-ID: <20001031074745.A8423@wjv.com> Reply-To: bv@bilver.wjv.com References: <00103111391900.01594@freefire.psi-domain.co.uk> <20001031072255.A8035@wjv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from Thierry.Besancon@prism.uvsq.fr on Tue, Oct 31, 2000 at 01:40:32PM +0100 Organization: W.J.Vermillion / Orlando - Winter Park Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Oct 31, 2000 at 01:40:32PM +0100, Thierry Besancon thus spoke: > Dixit Bill Vermillion (le Tue, 31 Oct 2000 07:22:55 -0500) : > > » > % ps -aux | grep username > » > » > username 1637 1.3 0.7 1340 868 p1 Ds 11.36AM 0:00.09 csh > » > » > then I just do a: > » > » > % kill -KILL 1637 > » > » > not the best or cleanest way of doing it, but its just a quick > » > method ive stuck with over the years. > » > » Definately not the cleanest/best. What's wrong with -HUP. > » > » -KILL [aka -9] give no chance for proper file closure and cleanup. > > When you kill -HUP a csh, it just remains. Nothing happens. You have ^^^ > to kill -9 it to get rid of it. Just try. That explains that. I've studiously avoided csh for the past 15 years. Shows I've not worked around a Sun environment much, doesn't it? Ever thought of using a better shell :-) [Add LOTS of smileys here - I'm not going to get into a shell wars argument - what works best for you, works best for you. I'm a ksh user]. -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message