2014-11-23 13:21:51 +00:00
|
|
|
.Dd November 23, 2014
|
|
|
|
.Dt KILL 1 sbase\-VERSION
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm kill
|
|
|
|
.Nd signal processes
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm kill
|
|
|
|
.Op Fl s Ar signal_name
|
|
|
|
.Ar pid ...
|
|
|
|
.Nm kill
|
|
|
|
.Fl l Op Ar exit_status
|
|
|
|
.Nm kill
|
|
|
|
.Fl Ar signal_name
|
|
|
|
.Ar pid ...
|
|
|
|
.Nm kill
|
|
|
|
.Fl Ar signal_number
|
|
|
|
.Ar pid ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2014-11-11 14:40:47 +00:00
|
|
|
by default sends a
|
2011-06-10 01:29:10 +00:00
|
|
|
.I TERM
|
|
|
|
signal to the given processes.
|
2014-11-23 13:22:44 +00:00
|
|
|
.Sh OPTIONS
|
2014-11-23 13:21:51 +00:00
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl s Ar signal_name
|
|
|
|
A symbolic signal name specifying the signal to be sent instead
|
|
|
|
of the default SIGTERM.
|
2014-11-11 14:40:47 +00:00
|
|
|
Sends the named signal.
|
2014-11-23 13:21:51 +00:00
|
|
|
.It Fl l Op Ar exit_status
|
2014-11-11 14:40:47 +00:00
|
|
|
Lists available signals. If an
|
2014-11-23 13:21:51 +00:00
|
|
|
.Ar exit_status
|
2011-06-10 01:56:13 +00:00
|
|
|
is given, only the corresponding signal name will be printed.
|
2014-11-23 13:21:51 +00:00
|
|
|
.It Fl signal_name
|
|
|
|
A symbolic signal name specifying the signal to be sent instead
|
|
|
|
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.
|