Commit | Line | Data |
---|---|---|
16469013 C |
1 | KILL(1) BSD Reference Manual KILL(1) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | k\bki\bil\bll\bl - terminate or signal a process | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | k\bki\bil\bll\bl [-\b-s\bsi\big\bgn\bna\bal\bl_\b_n\bna\bam\bme\be] _\bp_\bi_\bd ... | |
8 | k\bki\bil\bll\bl [-\b-s\bsi\big\bgn\bna\bal\bl_\b_n\bnu\bum\bmb\bbe\ber\br] _\bp_\bi_\bd ... | |
9 | k\bki\bil\bll\bl [-\b-l\bl] | |
10 | ||
11 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
12 | The kill utility sends the TERM signal to the processes specified by the | |
13 | pid operand(s). | |
14 | ||
15 | Only the super-user may send signals to other users' processes. | |
16 | ||
17 | The options are as follows: | |
18 | ||
19 | -\b-l\bl List the signal names. | |
20 | ||
21 | -\b-s\bsi\big\bgn\bna\bal\bl_\b_n\bna\bam\bme\be | |
22 | A symbolic signal name specifying the signal to be sent instead | |
23 | of the default TERM. The -\b-l\bl option displays the signal names. | |
24 | ||
25 | -\b-s\bsi\big\bgn\bna\bal\bl_\b_n\bnu\bum\bmb\bbe\ber\br | |
26 | A non-negative decimal integer, specifying the signal to be sent | |
27 | instead of the default TERM. | |
28 | ||
29 | Some of the more commonly used signals: | |
30 | ||
31 | -1 -1 (super-user broadcast to all processes, or user | |
32 | broadcast to user's processes) | |
33 | 0 0 (sh(1) only, signals all members of process group) | |
34 | 2 INT (interrupt) | |
35 | 3 QUIT (quit) | |
36 | 6 ABRT (abort) | |
37 | 9 KILL (non-catchable, non-ignorable kill) | |
38 | 14 ALRM (alarm clock) | |
39 | 15 TERM (software termination signal) | |
40 | ||
41 | K\bKi\bil\bll\bl is a built-in to csh(1); it allows job specifiers of the form | |
42 | ``%...'' as arguments so process id's are not as often used as k\bki\bil\bll\bl argu- | |
43 | ments. See csh(1) for details. | |
44 | ||
45 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
46 | csh(1), ps(1), kill(2), sigvec(2) | |
47 | ||
48 | H\bHI\bIS\bST\bTO\bOR\bRY\bY | |
49 | A k\bki\bil\bll\bl command appeared in Version 6 AT&T UNIX. | |
50 | ||
51 | B\bBU\bUG\bGS\bS | |
52 | A replacement for the command ``kill 0'' for csh(1) users should be pro- | |
53 | vided. | |
54 | ||
55 | 4.4BSD May 31, 1993 1 |