From owner-cvs-all Tue Sep 1 10:26:05 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15469 for cvs-all-outgoing; Tue, 1 Sep 1998 10:26:05 -0700 (PDT) (envelope-from owner-cvs-all) Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15249; Tue, 1 Sep 1998 10:25:01 -0700 (PDT) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id OAA17479; Tue, 1 Sep 1998 14:19:17 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199809011719.OAA17479@roma.coe.ufrj.br> Subject: Re: cvs commit: src/usr.bin/killall killall.pl In-Reply-To: <199809010915.JAA04201@word.smith.net.au> from Mike Smith at "Sep 1, 98 09:15:52 am" To: mike@smith.net.au (Mike Smith) Date: Tue, 1 Sep 1998 14:19:17 -0300 (EST) Cc: wosch@panke.de.freebsd.org, dag-erli@ifi.uio.no, wosch@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Mike Smith) // > On 1998-09-01 12:49:22 +0200, Dag-Erling Coidan Smørgrav wrote: // > > Wolfram Schneider writes: // > > > Log: // > > > PR: bin/5596 // > > > // > > > Change the diagnostic if there were no matching processes owned by // > > > you. // > > // > > Hmm, IMHO the old diagnostic was good enough. // > // > It was a minor change. For example // > // > old: // > $ /usr/bin/killall getty // > No matching processes ``getty'' // > // > new: // > $ perl ./killall.pl getty // > No matching processes ``getty'' belonging to you // // It's incorrect if you're root, and still grammatically incorrect. // Functionality should also move to 'kill', where the pattern should be a // legitimate alternative to a PID. // // # kill -TERM init // Cannot send signal to 'init': permission denied. // // # kill -TERM foo // Cannot send signal to 'foo': no such process. // // (You might omit this one:) // // # kill -v -HUP httpd // Could not send signal to some processes matching 'httpd': permission denied. Try the skill port. I've been using it for a long time now. Extremelly useful, and now an alias for kill in my shells. :)_ You can kill by pid, uid, command, terminal or combinations of these. Jonny -- Joao Carlos Mendes Luis M.Sc. Student jonny@jonny.eng.br Universidade Federal do Rio de Janeiro "There are two major products that come out of Berkeley: LSD and Unix. We don't believe this to be a coincidence." -- Jeremy S. Anderson