|
|
1.1 root 1: .TH KILL 1 "18 January 1983"
2: .UC 4
3: .SH NAME
4: kill \- terminate a process with extreme prejudice
5: .SH SYNOPSIS
6: .B kill
7: [
8: .BR \- sig
9: ]
10: processid ...
11: .br
12: .B kill
13: .B \-l
14: .SH DESCRIPTION
15: .I Kill
16: sends the TERM (terminate, 15) signal to the specified processes.
17: If a signal name or number preceded by `\-' is given
18: as first argument, that signal is sent instead of
19: terminate
20: (see
21: .IR sigvec (2)).
22: The signal names are listed by
23: `kill \-l', and are as given in
24: .I /usr/include/signal.h,
25: stripped of the common SIG prefix.
26: .PP
27: The terminate signal will kill processes that do not catch the signal;
28: `kill \-9 ...' is a sure kill, as the KILL (9) signal cannot be caught.
29: By convention, if process number 0 is specified, all members
30: in the process group (i.e. processes resulting from
31: the current login) are signaled (but beware: this works only
32: if you use
33: .IR sh (1);
34: not if you use
35: .IR csh (1).)
36: The killed processes must belong
37: to the current user unless
38: he is the super-user.
39: .PP
40: The process number of an asynchronous process
41: started with `&' is reported by the shell.
42: Process numbers can also be found by using
43: .I Kill
44: is a built-in to
45: .IR csh (1);
46: it allows job specifiers ``%...''
47: so process id's are not as often used as
48: .I kill
49: arguments.
50: See
51: .IR csh (1)
52: for details.
53: .SH "SEE ALSO"
54: csh(1), ps(1), kill(2), sigvec(2)
55: .SH BUGS
56: An option to kill process groups ala
57: .IR killpg (2)
58: should be provided; a replacement for ``kill 0''
59: for
60: .IR csh (1)
61: users should be provided.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.