xref: /original-bsd/bin/kill/kill.1 (revision d54be081)
1.\" Copyright (c) 1980, 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)kill.1	6.6 (Berkeley) 06/17/91
7.\"
8.Vx
9.Dd
10.Dt KILL 1
11.Os
12.Sh NAME
13.Nm kill
14.Nd terminate or signal a process
15.Sh SYNOPSIS
16.Nm kill
17.Op Fl signal_name
18.Ar pid
19\&...
20.Nm kill
21.Op Fl signal_number
22.Ar pid
23\&...
24.Nm kill
25.Op Fl l
26.Sh DESCRIPTION
27The kill utility sends the TERM signal to the processes specified
28by the pid operand(s).
29.Pp
30Only the super-user may send signals to other users' processes.
31.Pp
32The options are as follows:
33.Pp
34.Tw Ds
35.Tp Fl l
36List the signal names.
37.Tp Fl signal_name
38A symbolic signal name specifying the signal to be sent instead of the
39default TERM.
40The
41.Fl l
42option displays the signal names.
43.Tp Fl signal_number
44A non-negative decimal integer, specifying the signal to be sent instead
45of the default TERM.
46.Tp
47.Pp
48Some of the more commonly used signals:
49.Ds I
50.Cw XXX TERM
51.Cl -1	-1	(broadcast to all processes, super-user only)
52.Cl 0	0	(sh(1) only, signals all members of process group)
53.Cl 2	INT	(interupt)
54.Cl 3	QUIT	(quit)
55.Cl 6	ABRT	(abort)
56.Cl 9	KILL	(non-catchable, non-ignorable kill)
57.Cl 14	ALRM	(alarm clock)
58.Cl 15	TERM	(software termination signal)
59.Cw
60.De
61.Pp
62.Nm Kill
63is a built-in to
64.Xr csh  1  ;
65it allows job specifiers of the form ``%...'' as arguments
66so process id's are not as often used as
67.Nm kill
68arguments.
69See
70.Xr csh  1
71for details.
72.Sh SEE ALSO
73.Xr csh 1 ,
74.Xr ps 1 ,
75.Xr kill 2 ,
76.Xr sigvec 2
77.Sh HISTORY
78A
79.Nm kill
80command appeared in Version 6 AT&T Unix.
81.Sh BUGS
82A replacement for
83.Dq Li kill 0
84for
85.Xr csh  1
86users should be provided.
87