Rev | Line | |
---|
[9] | 1 | .TH KILL 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | kill \- send a signal to a process
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBkill\fR [\fB\-\fIn\fR] \fIprocess\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH OPTIONS
|
---|
| 18 | .FL "\-\fIn\fR" "Signal number to send"
|
---|
| 19 | .FL "\-\fINAME\fR" "Named signal to send"
|
---|
| 20 | .SH EXAMPLES
|
---|
| 21 | .EX "kill 35" "Send signal 15 to process 35"
|
---|
| 22 | .EX "kill \-9 40" "Send signal 9 to process 40"
|
---|
| 23 | .EX "kill \-2 0" "Send signal 2 to whole terminal process group"
|
---|
| 24 | .EX "kill \-HUP -123" "Send a hangup to process group 123"
|
---|
| 25 | .SH DESCRIPTION
|
---|
| 26 | .PP
|
---|
| 27 | A signal is sent to a given process.
|
---|
| 28 | By default signal 15 (SIGTERM) is sent.
|
---|
| 29 | Process 0 means all the processes in the sender's process group.
|
---|
| 30 | A process group can be signalled by the negative value of the process
|
---|
| 31 | group ID.
|
---|
| 32 | Signals may be numerical, or the name of the signal without \fBSIG\fP.
|
---|
| 33 | .SH "SEE ALSO"
|
---|
| 34 | .BR kill (2),
|
---|
| 35 | .BR sigaction (2).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.