| manpages.info - online man pages | ![]() |
|||
|
killall (1) Table of Contents
Namekillall - kill processes by name
Synopsiskillall [-d | -v] [-h | -?] [-help] [-l] [-m] [-s] [-u user] [-t tty] [-c procname] [-SIGNAL] [procname ...]
DescriptionKillall kills processes selected by name, as opposed to the selection by pid as done by kill(1) . By default, it will send a TERM signal to all processes with a real UID identical to the caller of killall that match the name procname. The super-user is allowed to kill any process.
The options are as follows:
All ProcessesSending a signal to all processes with uid XYZ is already supported by kill(1) . So use kill(1) for this job (e.g. $ kill -TERM -1 or as root $ echo kill -TERM -1 | su -m <user>)
DiagnosticsThe killall command will respond with a short usage message and exit with a status of 2 in case of a command error. A status of 1 will be returned if either no matching process has been found or not all processes have been signalled successfully. Otherwise, a status of 0 will be returned.
Diagnostic messages will only be printed if requested by -d options.
See Also
HistoryThe killall command appeared in FreeBSD 2.1. It has been modeled after the killall command as available on other platforms.
AuthorsThe killall program was originally written in Perl and was contributed by Wolfram Schneider, this manual page has been written by J"org Wunsch. The current version of killall was rewritten in C by Peter Wemm using sysctl(3) .
|