From owner-freebsd-hackers Thu May 22 01:19:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA08911 for hackers-outgoing; Thu, 22 May 1997 01:19:40 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA08906 for ; Thu, 22 May 1997 01:19:37 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id RAA19791; Thu, 22 May 1997 17:49:20 +0930 (CST) From: Michael Smith Message-Id: <199705220819.RAA19791@genesis.atrad.adelaide.edu.au> Subject: Re: process monitoring tool (like SysV init)? In-Reply-To: <199705220739.IAA07095@awfulhak.demon.co.uk> from Brian Somers at "May 22, 97 08:39:56 am" To: brian@awfulhak.org (Brian Somers) Date: Thu, 22 May 1997 17:49:20 +0930 (CST) Cc: joerg_wunsch@uriah.heep.sax.de, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Brian Somers stands accused of saying: > > 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. KILLALL(1) FreeBSD General Commands Manual KILLALL(1) NAME killall - kill processes by name SYNOPSIS killall [-d |-v] [-h |-?] [-help] [-l] [-m] [-s] [-SIGNAL] procname ... DESCRIPTION Killall kills processes selected by name, as opposed to the selection by pid as done by kill(1). By default, it will send a TERM signal to all processes with an effective UID identical to the caller of killall that match the name procname. The super-user is allowed to kill any process. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[