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