Commit Graph

22 Commits

Author SHA1 Message Date
peter
f47bf1f4e6 After positive feedback from a few folks, activate a switchover to
using killall.c instead of the perl version that depends on procfs.
The C version uses sysctl().  The program is based on a hack that was
originally written about 6 years ago and has evolved somewhat since then.
(which is why it is a superset of killall.pl, rather than being a clone.)

With apologies to: wosch
2000-08-28 22:09:38 +00:00
peter
5725601caf Try and fix up some bogus indentation leftovers from emacs several
years ago.
2000-08-27 02:12:29 +00:00
peter
b4ced62446 Sigh, today is not my day. Convert a verbose while() .. loop into a for()
loop.

Submitted by:	billf
2000-08-27 01:17:11 +00:00
peter
eb32ed6b03 *blush*. I was *sure* I compiled this after the last change..
Add the missing )

Shamed by:	billf
2000-08-27 01:10:55 +00:00
peter
44b6aa2b98 killall.c is meant to be a superset replacement of killall.pl, the
main difference is that it uses sysctl to get the process lists rather
than /proc - thereby reducing the dependency on /proc by one more tool.
2000-08-27 00:46:25 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
wosch
09f406ace9 Added myself as maintainer. 1999-02-09 17:23:03 +00:00
wosch
150c594f49 Diagnostic rewritten in English.
Submitted by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1998-09-02 10:05:47 +00:00
wosch
a8c7142700 PR: bin/5596
Change the diagnostic if there were no matching processes owned by
you.
1998-08-30 16:54:58 +00:00
charnier
409a50cddf .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
wosch
4da8ac54d4 Re-order the for loop for multiple procnames. This decrease the
system load and makes a

      killall ppp rlogin ftp ssh ping traceroute telnet

a lot faster.

Remove duplicated pid's before killing (killall lynx lynx).
1998-01-01 17:24:43 +00:00
wosch
48647c7540 Typo.
PR: docs/4911
Submitted by:	Vasim Valejev <vasim@uddias.diaspro.com>
1997-11-01 15:06:40 +00:00
peter
f390c26dd9 Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
0210175107 sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
smpatel
49058140a1 Allow multiple process names to kill (i.e. 'killall ftpd inetd httpd')
Submitted by:	smpatel, wosch
Reviewed by:	wosch
1996-05-30 22:04:09 +00:00
wosch
82b3c0ebdc always warn if no processes matched 1996-02-11 00:12:15 +00:00
wosch
7473bef6df Support killing of suid programs.
Now ``killall xterm'' works :-)

Don't fail for processes with meta chars (c+++)
1996-02-03 22:52:27 +00:00
mpp
511d4f82b2 Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
wosch
a447e85f39 Bugfix: allow digits in signal names (usr1, usr2) 1996-01-22 08:06:13 +00:00
joerg
c2059974cb Our Perl oracle hit again: Wolfram Schneider's killall utility.
Kills processes by name instead of by UID.

(Man page by me.)

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-06-25 18:08:27 +00:00