rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 1 | .TH KILL 1 |
| 2 | .SH NAME |
| 3 | kill, slay, start, stop \- print commands to manipulate processes |
| 4 | .SH SYNOPSIS |
| 5 | .B kill |
| 6 | .I name ... |
| 7 | .PP |
| 8 | .B slay |
| 9 | .I name ... |
| 10 | .PP |
| 11 | .B start |
| 12 | .I name ... |
| 13 | .PP |
| 14 | .B stop |
| 15 | .I name ... |
rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 16 | .SH DESCRIPTION |
| 17 | .I Kill |
| 18 | prints commands that will cause all processes with |
| 19 | .I name |
| 20 | and owned by the current user to be terminated. |
| 21 | Each command is commented with an output line from |
| 22 | .IR ps (1) |
| 23 | describing the process that would be killed. |
| 24 | Use the |
| 25 | .B send |
| 26 | command of |
| 27 | .IR 9term (1), |
| 28 | or pipe the output of |
| 29 | .I kill |
| 30 | into |
| 31 | .IR rc (1) |
| 32 | or |
| 33 | .IR sh (1) |
| 34 | to execute the commands. |
| 35 | .PP |
| 36 | .I Kill |
| 37 | suggests sending a Unix |
| 38 | .B TERM |
| 39 | signal to the process; |
| 40 | sending a |
| 41 | .B KILL |
| 42 | signal is a surer, if heavy handed, kill, |
| 43 | but is necessary if the offending process is |
| 44 | ignoring signals. |
| 45 | The |
| 46 | .I slay |
| 47 | command prints commands to do this. |
| 48 | .PP |
| 49 | .I Stop |
| 50 | prints commands to pause execution of processes |
| 51 | by sending them the |
| 52 | .B STOP |
| 53 | signal. |
| 54 | .PP |
| 55 | .I Start |
| 56 | prints commands to restart stopped processes by sending them |
| 57 | the |
| 58 | .B CONT |
| 59 | signal. |
| 60 | .SH SOURCE |
rsc | c3674de | 2005-01-11 17:37:33 +0000 | [diff] [blame] | 61 | .B \*9/bin |
rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 62 | .SH "SEE ALSO" |
| 63 | .IR ps (1), |
| 64 | .IR notify (3) |
rsc | c8b6342 | 2005-01-13 04:49:19 +0000 | [diff] [blame] | 65 | .SH BUGS |
| 66 | .I Stop |
| 67 | and |
| 68 | .I start |
| 69 | should limit themselves to currently running or stopped processes. |