]>
Commit | Line | Data |
---|---|---|
a74aeac6 PR |
1 | '\" -*- coding: UTF-8 -*- |
2 | .\" Copyright (C) 1998-2003 Miquel van Smoorenburg. | |
3 | .\" | |
4 | .\" This program is free software; you can redistribute it and/or modify | |
5 | .\" it under the terms of the GNU General Public License as published by | |
6 | .\" the Free Software Foundation; either version 2 of the License, or | |
7 | .\" (at your option) any later version. | |
8 | .\" | |
9 | .\" This program is distributed in the hope that it will be useful, | |
10 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | .\" GNU General Public License for more details. | |
13 | .\" | |
14 | .\" You should have received a copy of the GNU General Public License | |
15 | .\" along with this program; if not, write to the Free Software | |
16 | .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
17 | .\" | |
18 | .TH KILLALL5 8 "04 Nov 2003" "" "Linux System Administrator's Manual" | |
19 | .SH NAME | |
20 | killall5 -- send a signal to all processes. | |
21 | .SH SYNOPSIS | |
22 | .B killall5 | |
23 | .RB -signalnumber | |
24 | .RB [ \-o | |
40fc1ac0 | 25 | .IR omitpid[,omitpid..]] |
a74aeac6 | 26 | .RB [ \-o |
40fc1ac0 | 27 | .IR omitpid[,omitpid..].. ] |
a74aeac6 PR |
28 | .SH DESCRIPTION |
29 | .B killall5 | |
30 | is the SystemV killall command. It sends a signal to all processes except | |
31 | kernel threads and the processes in its own session, so it won't kill | |
32 | the shell that is running the script it was called from. Its primary | |
33 | (only) use is in the \fBrc\fP scripts found in the /etc/init.d directory. | |
34 | .SH OPTIONS | |
35 | .IP "-o \fIomitpid\fP" | |
36 | Tells \fIkillall5\fP to omit processes with that process id. | |
37 | .SH NOTES | |
38 | \fIkillall5\fP can also be invoked as pidof, which is simply a | |
39 | (symbolic) link to the \fIkillall5\fP program. | |
40 | .SH EXIT STATUS | |
41 | The program return zero if it killed processes. It return 2 if no | |
42 | process were killed, and 1 if it was unable to find any processes | |
43 | (/proc/ is missing). | |
44 | .SH SEE ALSO | |
45 | .BR halt (8), | |
46 | .BR reboot (8), | |
47 | .BR pidof (8) | |
48 | .SH AUTHOR | |
49 | Miquel van Smoorenburg, miquels@cistron.nl |