From owner-freebsd-hackers Fri Aug 30 16:04:48 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA05084 for hackers-outgoing; Fri, 30 Aug 1996 16:04:48 -0700 (PDT) Received: from ns.eu.org (valerian.glou.eu.org [193.56.58.251]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA05079 for ; Fri, 30 Aug 1996 16:04:44 -0700 (PDT) Received: (from uucp@localhost) by ns.eu.org (8.7.3/8.7.1/951117) with UUCP id BAA05491; Sat, 31 Aug 1996 01:03:38 +0200 (MET DST) Received: (from regnauld@localhost) by tetard.glou.eu.org (8.7.5/8.7.3/tetard-uucp-2.7) id BAA00449; Sat, 31 Aug 1996 01:01:13 +0200 (MET DST) From: Philippe Regnauld Message-Id: <199608302301.BAA00449@tetard.glou.eu.org> Subject: Re: killproc program To: archie@whistle.com (Archie Cobbs) Date: Sat, 31 Aug 1996 01:01:12 +0200 (MET DST) Cc: hackers@freebsd.org (hackers) In-Reply-To: <199608301946.MAA03476@bubba.whistle.com> from Archie Cobbs at "Aug 30, 96 12:46:34 pm" X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Archie Cobbs écrit / writes: > > I finally got around to writing a little program that I've needed for > a while, a "killproc" to kill process(es) by name, PID, or pid file. > Similar to "killall" which I used to use under Linux.. this is especially > useful in scripts that need to kill and restart things like sendmail > that store their process ID's in a file, or for general sysadmin type > maintenance. Thanks, but... regnauld@tetard [~]% uname -sr FreeBSD 2.2-CURRENT regnauld@tetard [~]% ls -l /usr/src/usr.bin/killall total 9 -rw-r--r-- 1 root staff 168 Jun 29 1995 Makefile -rw-r--r-- 1 root staff 4051 Aug 29 14:42 killall.1 -rw-r--r-- 1 root staff 3904 Aug 29 14:42 killall.pl lrwxr-xr-x 1 root staff 32 Aug 29 14:57 obj@ -> /usr/obj/src/src/usr.bin/ki llall This was imported some time ago :-) -- Phil -- -[ Philippe Regnauld / regnauld@eu.org / +55.4N +11.3E @ Sol3 / +45 31241690 ]- -[ "To kårve or nøt to kårve, that is the qvestion..." -- My sister ]-