[geeks] Re: [SunRescue] Help!

David Cantrell geeks at sunhelp.org
Fri Apr 20 04:41:16 CDT 2001


On Thu, Apr 19, 2001 at 04:44:12PM -0500, Reagen Ward wrote:
> On Thu, Apr 19, 2001 at 09:41:16PM +0000, Kris Kirby wrote:
> 
> > Silly me. What I really meant was natd(8) + ipfw. It's on FreeBSD, I
> > *think* NetBSD as well. I'm a proponent of OpenBSD for the simple reason
> > that I think they've got the right idea, if not the right attitude. Not
> > having the killall command really gets me though.
> 
> Killall?  I know a few UNIX flavors that have it, but it's for doing
> just that, killing ALL processes.  I was very surprised to find it on a
> linux distro and have it be a user command.

In Redhat and Debian, killall does not kill all.  From the manpage:

       killall sends a signal to all processes running any of the
       specified  commands.  If  no  signal  name  is  specified,
       SIGTERM is sent.

So you would use it like:

       killall httpd

It could be kinda useful, but is very badly named, and I avoid it like the
plague so I don't start using it out of habit and accidentally splatter
other machines.  About the only time I *do* use it is in shutdown and
restart scripts for services.

-- 
David Cantrell | david at cantrell.org.uk | http://www.cantrell.org.uk/david

   The voices said it's a good day to clean my weapons.



More information about the geeks mailing list