Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 1997 08:39:56 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: process monitoring tool (like SysV init)? 
Message-ID:  <199705220739.IAA07095@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Wed, 21 May 1997 20:37:45 %2B0200." <19970521203745.EU46231@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--===_0_Thu_May_22_08:39:44_BST_1997
Content-Type: text/plain; charset=us-ascii

> 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/<name>.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.

It would be nice to commit this.
-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....


--===_0_Thu_May_22_08:39:44_BST_1997
Content-Type: application/x-script
Content-Description: pkill
Content-Transfer-Encoding: base64

IyEgL2Jpbi9zaAojIGtpbGwgdGhlIG5hbWVkIHByb2Nlc3MoZXMpCgpjYXNlICQxIGluIC0q
KSBmbGFnPSQxOyBzaGlmdDs7IGVzYWMKClsgJCMgLWVxIDAgXSAmJiB7IGVjaG8gVXNhZ2U6
IHBraWxsIHByb2NuYW1lLi4uOyBleGl0IDE7IH0KCnJ1bm5pbmc9YHBzIGF4b3BpZCxjb21t
YW5kIHwKCXNlZCAtZSAncy9eICovLycgXAoJCS1lICdzLF5cKFswLTldKlwpIC4qKFwoW14p
XSpcKSkkLFwxIFwyLCcgXAoJCS1lICdzLF5cKFswLTldKlwpIFteIF0qLyxcMSAsJyBcCgkJ
LWUgJ3MsXlwoWzAtOV0qXCkgXChbXiBdKlwpIC4qLFwxIFwyLCdgCgppZnM9IiRJRlMiCklG
Uz0KZm9yIGYKZG8KCXBpZD1gZWNobyAkcnVubmluZyB8IHNlZCAtbiAiLyAkZiQvIHMvIC4q
Ly9wImAKCVsgLXogIiRwaWQiIF0gJiYgZWNobyAiJGY6IE5vIHN1Y2ggcHJvY2Vzcy4iID4m
MiB8fCBwaWRzPSIkcGlkcyAkcGlkIgpkb25lClsgLW4gIiRwaWRzIiBdICYmIHsKCUlGUz0i
JGlmcyIKCXBpZHM9ImBlY2hvICRwaWRzYCIKCWVjaG8ga2lsbCAkZmxhZyAkcGlkcwoJa2ls
bCAkZmxhZyAkcGlkcwp9Cg==

--===_0_Thu_May_22_08:39:44_BST_1997--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705220739.IAA07095>