Update kill.1

This commit is contained in:
sin 2014-11-23 13:21:51 +00:00
parent e514886f0d
commit 6aab51a858

73
kill.1
View File

@ -1,28 +1,59 @@
.TH KILL 1 sbase\-VERSION .Dd November 23, 2014
.SH NAME .Dt KILL 1 sbase\-VERSION
KILL \- signal processes .Os
.SH SYNOPSIS .Sh NAME
\fBkill\fR [ \fB-s\fR \fIsignal_name\fR ] \fIpid\fR \fI...\fR .Nm kill
.P .Nd signal processes
\fBkill\fR \fB-l\fR [ \fIexit_status\fR] .Sh SYNOPSIS
.P .Nm kill
\fBkill\fR \fB-\fR\fIsignal_name\fR \fIpid\fR \fI...\fR .Op Fl s Ar signal_name
.P .Ar pid ...
\fBkill\fR \fB-\fR\fIsignal_number\fR \fIpid\fR \fI...\fR .Nm kill
.SH DESCRIPTION .Fl l Op Ar exit_status
.B kill .Nm kill
.Fl Ar signal_name
.Ar pid ...
.Nm kill
.Fl Ar signal_number
.Ar pid ...
.Sh DESCRIPTION
.Nm
by default sends a by default sends a
.I TERM .I TERM
signal to the given processes. signal to the given processes.
.SH OPTIONS .SH OPTIONS
.TP .Bl -tag -width Ds
.BI \-s " signal_name" .It Fl s Ar signal_name
A symbolic signal name specifying the signal to be sent instead
of the default SIGTERM.
Sends the named signal. Sends the named signal.
.TP .It Fl l Op Ar exit_status
.B \-l
Lists available signals. If an Lists available signals. If an
.I exit_status .Ar exit_status
is given, only the corresponding signal name will be printed. is given, only the corresponding signal name will be printed.
.SH SEE ALSO .It Fl signal_name
.IR kill (2), A symbolic signal name specifying the signal to be sent instead
.IR signal (7) of the default SIGTERM.
.It Fl signal_number
A non-negative decimal integer specifying the signal to be sent
instead of the default SIGTERM.
.El
.Sh SEE ALSO
.Xr kill 2 ,
.Xr signal 7
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.
.Pp
The
.Fl Ar signal_name
and
.Fl Ar signal_number
syntax is marked by
.St -p1003.1-2008
as being an
X/OPEN System Interfaces
option.