| 1 |
.TH KILLALL5 8 "04 Nov 2003" "" "Linux System Administrator's Manual" |
| 2 |
.SH NAME |
| 3 |
killall5 -- send a signal to all processes. |
| 4 |
.SH SYNOPSIS |
| 5 |
.B killall5 |
| 6 |
.RB -signalnumber |
| 7 |
.RB [ \-o |
| 8 |
.IR omitpid ] |
| 9 |
.RB [ \-o |
| 10 |
.IR omitpid.. ] |
| 11 |
.SH DESCRIPTION |
| 12 |
.B killall5 |
| 13 |
is the SystemV killall command. It sends a signal to all processes except |
| 14 |
kernel threads and the processes in its own session, so it won't kill |
| 15 |
the shell that is running the script it was called from. Its primary |
| 16 |
(only) use is in the \fBrc\fP scripts found in the /etc/init.d directory. |
| 17 |
.SH OPTIONS |
| 18 |
.IP "-o \fIomitpid\fP" |
| 19 |
Tells \fIkillall5\fP to omit processes with that process id. |
| 20 |
.SH NOTES |
| 21 |
\fIkillall5\fP can also be invoked as pidof, which is simply a |
| 22 |
(symbolic) link to the \fIkillall5\fP program. |
| 23 |
.SH EXIT STATUS |
| 24 |
The program return zero if it killed processes. It return 2 if no |
| 25 |
process were killed, and 1 if it was unable to find any processes |
| 26 |
(/proc/ is missing). |
| 27 |
.SH SEE ALSO |
| 28 |
.BR halt (8), |
| 29 |
.BR reboot (8), |
| 30 |
.BR pidof (8) |
| 31 |
.SH AUTHOR |
| 32 |
Miquel van Smoorenburg, [email protected] |