1
by Craig Small
Import upstream version 3.2.1 |
1 |
'\" t
|
2 |
.\" (The preceding line is a note to broken versions of man to tell |
|
3 |
.\" them to pre-process this man page with tbl) |
|
4 |
.\" Man page for kill. |
|
5 |
.\" Licensed under version 2 of the GNU General Public License. |
|
6 |
.\" Written by Albert Cahalan; converted to a man page by |
|
7 |
.\" Michael K. Johnson |
|
1.1.8
by Craig Small
Import upstream version 3.3.2 |
8 |
.TH KILL 1 "October 2011" "procps-ng" "User Commands" |
1
by Craig Small
Import upstream version 3.2.1 |
9 |
.SH NAME |
10 |
kill \- send a signal to a process
|
|
11 |
.SH SYNOPSIS |
|
1.1.8
by Craig Small
Import upstream version 3.3.2 |
12 |
.B kill |
13 |
[options] <pid> [...] |
|
1
by Craig Small
Import upstream version 3.2.1 |
14 |
.SH DESCRIPTION |
1.1.8
by Craig Small
Import upstream version 3.3.2 |
15 |
The default signal for kill is TERM. Use |
16 |
.B \-l |
|
17 |
or |
|
18 |
.B \-L |
|
19 |
to list available signals. Particularly useful signals include HUP, |
|
20 |
INT, KILL, STOP, CONT, and 0. Alternate signals may be specified in |
|
21 |
three ways: |
|
22 |
.BR \-9 ", " \-SIGKILL |
|
23 |
or |
|
24 |
.BR \-KILL . |
|
25 |
Negative PID values may be used to choose whole process groups; see |
|
26 |
the PGID column in ps command output. A PID of |
|
27 |
.B \-1 |
|
28 |
is special; it indicates all processes except the kill process itself |
|
29 |
and init. |
|
30 |
.SH OPTIONS |
|
31 |
.TP
|
|
32 |
.B <pid> [...] |
|
33 |
Send signal to every <pid> listed. |
|
34 |
.TP
|
|
35 |
.B \-<signal> |
|
36 |
.TQ
|
|
37 |
.B \-s <signal> |
|
38 |
.TQ
|
|
39 |
.B \-\-signal <signal> |
|
40 |
Specify the |
|
41 |
.B signal |
|
42 |
to be sent. The signal can be specified by using name or number. |
|
43 |
The behavior of signals is explained in |
|
44 |
.BR signal (7) |
|
45 |
manual page. |
|
46 |
.TP
|
|
47 |
\fB\-l\fR, \fB\-\-list\fR [\fIsignal\fR] |
|
48 |
List signal names. This option has optional argument, which |
|
49 |
will convert signal number to signal name, or other way round. |
|
50 |
.TP
|
|
51 |
.BR \-L , \ \-\-table |
|
52 |
List signal names in a nice table. |
|
53 |
.TP
|
|
54 |
.PD
|
|
1
by Craig Small
Import upstream version 3.2.1 |
55 |
.SH NOTES |
1.1.8
by Craig Small
Import upstream version 3.3.2 |
56 |
Your shell (command line interpreter) may have a built-in kill |
57 |
command. You may need to run the command described here as /bin/kill |
|
58 |
to solve the conflict. |
|
1
by Craig Small
Import upstream version 3.2.1 |
59 |
.SH EXAMPLES |
2.1.6
by Craig Small
* Changed source format to 3.0 quilt |
60 |
.TP
|
61 |
.B kill \-9 \-1 |
|
1
by Craig Small
Import upstream version 3.2.1 |
62 |
Kill all processes you can kill. |
2.1.6
by Craig Small
* Changed source format to 3.0 quilt |
63 |
.TP
|
64 |
.B kill \-l 11 |
|
1
by Craig Small
Import upstream version 3.2.1 |
65 |
Translate number 11 into a signal name. |
2.1.6
by Craig Small
* Changed source format to 3.0 quilt |
66 |
.TP
|
67 |
.B kill -L |
|
1
by Craig Small
Import upstream version 3.2.1 |
68 |
List the available signal choices in a nice table. |
2.1.6
by Craig Small
* Changed source format to 3.0 quilt |
69 |
.TP
|
70 |
.B kill 123 543 2341 3453 |
|
1
by Craig Small
Import upstream version 3.2.1 |
71 |
Send the default signal, SIGTERM, to all those processes. |
72 |
.SH "SEE ALSO" |
|
1.1.8
by Craig Small
Import upstream version 3.3.2 |
73 |
.BR kill (2), |
74 |
.BR killall (1), |
|
75 |
.BR nice (1), |
|
2.1.6
by Craig Small
* Changed source format to 3.0 quilt |
76 |
.BR pkill (1), |
77 |
.BR renice (1), |
|
78 |
.BR signal (7), |
|
1.1.8
by Craig Small
Import upstream version 3.3.2 |
79 |
.BR skill (1) |
1
by Craig Small
Import upstream version 3.2.1 |
80 |
.SH STANDARDS |
1.1.8
by Craig Small
Import upstream version 3.3.2 |
81 |
This command meets appropriate standards. The |
82 |
.B \-L |
|
83 |
flag is Linux-specific. |
|
1
by Craig Small
Import upstream version 3.2.1 |
84 |
.SH AUTHOR |
1.1.9
by Craig Small
Import upstream version 3.3.3 |
85 |
.UR albert@users.sf.net |
1.1.8
by Craig Small
Import upstream version 3.3.2 |
86 |
Albert Cahalan |
87 |
.UE
|
|
88 |
wrote kill in 1999 to replace a bsdutils one that was not standards |
|
89 |
compliant. The util-linux one might also work correctly. |
|
90 |
.SH "REPORTING BUGS" |
|
91 |
Please send bug reports to |
|
1.1.9
by Craig Small
Import upstream version 3.3.3 |
92 |
.UR procps@freelists.org |
1.1.8
by Craig Small
Import upstream version 3.3.2 |
93 |
.UE
|