Commit | Line | Data |
---|---|---|
86c7b4ff KT |
1 | .TH KILL 1 |
2 | .SH NAME | |
3 | kill \- terminate a process with extreme prejudice | |
4 | .SH SYNOPSIS | |
5 | .B kill | |
6 | [ | |
7 | .BR \- signo | |
8 | ] | |
9 | processid ... | |
10 | .SH DESCRIPTION | |
11 | .I Kill | |
12 | sends signal 15 (terminate) to the specified processes. | |
13 | If a signal number preceded by `\-' is given | |
14 | as first argument, that signal is sent instead of | |
15 | terminate | |
16 | (see | |
17 | .IR signal (2)). | |
18 | This will kill processes that do not catch the signal; | |
19 | in particular `kill \-9 ...' is a sure kill. | |
20 | .PP | |
21 | By convention, if process number 0 is specified, all members | |
22 | in the process group (i.e. processes resulting from | |
23 | the current login) are signaled. | |
24 | .PP | |
25 | The killed processes must belong | |
26 | to the current user unless | |
27 | he is the super-user. | |
28 | To shut the system down and bring it up single user | |
29 | the super-user may | |
30 | use `kill \-1 1'; see | |
31 | .IR init (8). | |
32 | .PP | |
33 | The process number of an asynchronous process | |
34 | started with `&' is reported by the shell. | |
35 | Process numbers can also be found by using | |
36 | .IR ps (1). | |
37 | .SH "SEE ALSO" | |
38 | ps(1), kill(2), signal(2) |