summaryrefslogtreecommitdiffstats
path: root/usr.bin/killall
Commit message (Collapse)AuthorAgeFilesLines
* New -e flag, modifies the behavior of the -u uid flag to use thedds2004-01-262-4/+16
| | | | | | effective user id, instead of the real user id. MFC after: 2 weeks
* Serial murderers shouldn't commit suicide. (killall shouldcperciva2004-01-221-0/+4
| | | | | | | avoid killing itself.) PR: bin/46107 Submitted by: stacey <stacey_@starwhack.net>
* o -m flags contructs case sensitive RE, not case insensitive.maxim2004-01-181-1/+1
| | | | MFC after: 1 week
* o Sync usage() and man page synopsis with reality.maxim2004-01-182-9/+3
| | | | MFC after: 1 week
* Use the 3-component version of the KERN_PROC_PROC sysctl.tjr2003-09-271-1/+3
|
* Use KERN_PROC_PROC instead of KERN_PROC_ALL when enumerating processes sotjr2003-09-071-7/+4
| | | | | that we kill each process once, not once for every thread it owns. This avoids "No such process" warnings when killing threaded processes.
* make "killall -j" not core dump.imp2003-04-271-0/+2
| | | | Submitted by: Joe Marcus Clarke in current@
* o Add jls(8) for listing active jails.mike2003-04-092-4/+28
| | | | | | | o Add jexec(8) to execute a command in an existing jail. o Add -j option for killall(1) to kill all processes in a specified jail. o Add -i option to jail(8) to output jail ID of newly created jail.
* Header was included twice. Hardcode program name in usage string.charnier2003-02-051-5/+1
|
* s/progname/procname/ to be consistent with the other occurrencesrse2002-07-151-1/+1
| | | | of the option -c argument in SYNOPSIS and DESCRIPTION.
* Consistently use FBSDIDobrien2002-06-301-2/+3
|
* mdoc(7) police: lint.ru2002-05-291-1/+1
|
* Mark a warning as such. Without this, it isn't obvious whetherdd2002-05-201-2/+2
| | | | | killall stopped after failing to kill one process or whether it kept going.
* Use `The .Nm utility'charnier2002-04-201-3/+4
|
* Skip zombies. Add an option (-z) to revert to the historical behaviourdes2002-04-142-0/+11
| | | | | of trying to kill zombies (which has no effect except emit a few error messages)
* Use the method described in the strtol man page to check if it parseddwmalone2002-03-301-1/+1
| | | | the entire string. This avoids signed/unsigned comparison.
* killall operates on all processes owned by the real uid, not thebsd2001-11-301-2/+2
| | | | | | effective uid. MFC after: 3 days
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-101-1/+0
|
* mdoc(7) police:ru2001-08-071-1/+2
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-5/+5
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Allow -u to work with UID's also.obrien2001-06-121-6/+9
| | | | Submitted by: Seth Kingsley <seth.kingsley@windriver.com>
* Fix an array which was too small.phk2001-05-161-1/+1
| | | | | PR: 27380 Submitted by: Samuel Greear <sgreear@vsni.com>
* Compensate for header dethreading.markm2001-05-011-0/+1
|
* Work around the p_comm[] size limit. If the user supplies more thanpeter2001-02-141-1/+1
| | | | | | | 16 characters, only check the first 16 since that is all the kernel records. This isn't ideal, but it is probably the best we can do. Otherwise, "killall communicator-linux-4.76.bin" will not match the process as the kernel only records "communicator-lin".
* Fix typo: -c -> -tache2001-01-211-1/+1
|
* Make "killall -t p0" really works.ache2001-01-211-1/+2
| | | | Old code works only if at least one process name additionly specified.
* Use the real user ID so non-root users can kill setuid processesps2000-12-251-1/+1
| | | | | | | they started. PR: 23356 Submitted by: Maxim Konovalov <maxim@macomnet.ru>
* Prepare for mdoc(7)NG.ru2000-12-191-4/+4
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* Catch up to the new kinfo_proc.jhb2000-12-121-4/+4
|
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* -U cannot be an option since some signals start with U. -u is theps2000-11-121-1/+0
| | | | documented behavior so only check for that.
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-3/+4
|
* After positive feedback from a few folks, activate a switchover topeter2000-08-284-155/+36
| | | | | | | | | 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
* Try and fix up some bogus indentation leftovers from emacs severalpeter2000-08-271-2/+2
| | | | years ago.
* Sigh, today is not my day. Convert a verbose while() .. loop into a for()peter2000-08-271-4/+1
| | | | | | loop. Submitted by: billf
* *blush*. I was *sure* I compiled this after the last change..peter2000-08-271-1/+1
| | | | | | Add the missing ) Shamed by: billf
* killall.c is meant to be a superset replacement of killall.pl, thepeter2000-08-271-0/+372
| | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Added myself as maintainer.wosch1999-02-091-0/+3
|
* Diagnostic rewritten in English.wosch1998-09-021-3/+3
| | | | Submitted by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
* PR: bin/5596wosch1998-08-301-14/+24
| | | | | Change the diagnostic if there were no matching processes owned by you.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-5/+6
|
* Re-order the for loop for multiple procnames. This decrease thewosch1998-01-011-25/+29
| | | | | | | | | | 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).
* Typo.wosch1997-11-011-2/+2
| | | | | PR: docs/4911 Submitted by: Vasim Valejev <vasim@uddias.diaspro.com>
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | 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.
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightwosch1996-08-272-32/+16
|
OpenPOWER on IntegriCloud