From owner-freebsd-hackers Thu May 22 01:25:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA09216 for hackers-outgoing; Thu, 22 May 1997 01:25:02 -0700 (PDT) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA09207 for ; Thu, 22 May 1997 01:24:59 -0700 (PDT) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.5/8.8.5) with SMTP id JAA11849; Thu, 22 May 1997 09:24:42 +0100 (BST) Date: Thu, 22 May 1997 09:24:42 +0100 (BST) From: Doug Rabson To: Brian Somers cc: Joerg Wunsch , hackers@freebsd.org Subject: Re: process monitoring tool (like SysV init)? In-Reply-To: <199705220739.IAA07095@awfulhak.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 22 May 1997, Brian Somers wrote: > > As Sakari Jalovaara wrote: > > > > > It struck me as a rather nice idea. No more "ps | grep sendmail ... > > > kill ... sendmail -bd -q1h" - just do "nanny restart sendmail". > > > > All `conforming' daemons leave their PID in /var/run/.pid. > [.....] > > -- > > cheers, J"org > > > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > > Never trust an operating system you don't have sources for. ;-) > > That reminds me. Is anyone interested in a "pkill" command ? It's > a shell script (attached 'cos it's not too big) that kills processes > by name - so you can say "pkill -HUP named" for example. Don't we already have killall in the base system? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891