From owner-freebsd-questions Tue Jan 15 2:32:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id 84A2737B417 for ; Tue, 15 Jan 2002 02:32:25 -0800 (PST) Received: from there ([66.57.85.154]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Tue, 15 Jan 2002 05:31:24 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: "Mike Meyer" Subject: Re: Restarting a service Date: Tue, 15 Jan 2002 05:30:58 -0500 X-Mailer: KMail [version 1.3] Cc: questions@freebsd.org References: <15426.65401.224226.567679@guru.mired.org> In-Reply-To: <15426.65401.224226.567679@guru.mired.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <087922431100f12FE6@Mail6.nc.rr.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 14 January 2002 10:55 am, Mike Meyer wrote: > Brian T.Schellenberger types: > > On Sunday 13 January 2002 07:24 pm, zhuravlev alexander wrote: > > > > How do I do the equivelent in FreeBSD? > > > > > > ps -auxww | grep sshd -you will find PID of ssh daemon > > > then simple > > > kill -HUP PID(which you get from prev step) > > > > simpler yet, just > > > > killall -HUP sshd > > > > should do it. > > > > (killall is basically ps -aux | grep | kill all wrapped up into a neat > > automated package for you) > > I thought about pointing that out, but for sshd it's a bad > idea. Unless you want to log off everyone logged in via ssh at the > same time, that is. Ah. Good point. > > Free Dmitry Sklyarov! (let him go home) <----------- http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message