mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Fix markup.
This commit is contained in:
parent
31d3065878
commit
0dc55f7681
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167196
@ -41,31 +41,27 @@
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl s Ar signal_name
|
||||
.Ar pid
|
||||
\&...
|
||||
.Ar pid ...
|
||||
.Nm
|
||||
.Fl l
|
||||
.Op Ar exit_status
|
||||
.Nm
|
||||
.Fl Ar signal_name
|
||||
.Ar pid
|
||||
\&...
|
||||
.Ar pid ...
|
||||
.Nm
|
||||
.Fl Ar signal_number
|
||||
.Ar pid
|
||||
\&...
|
||||
.Ar pid ...
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
utility sends a signal to the processes specified by the
|
||||
.Ar pid
|
||||
operand(s).
|
||||
operands.
|
||||
.Pp
|
||||
Only the super-user may send signals to other users' processes.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Pp
|
||||
.Bl -tag -width Ds
|
||||
.Bl -tag -width indent
|
||||
.It Fl s Ar signal_name
|
||||
A symbolic signal name specifying the signal to be sent instead of the
|
||||
default
|
||||
@ -84,15 +80,16 @@ of the default
|
||||
.Dv TERM .
|
||||
.El
|
||||
.Pp
|
||||
The following pids have special meanings:
|
||||
.Bl -tag -width Ds -compact
|
||||
The following PIDs have special meanings:
|
||||
.Bl -tag -width indent
|
||||
.It -1
|
||||
If superuser, broadcast the signal to all processes; otherwise broadcast
|
||||
to all processes belonging to the user.
|
||||
.El
|
||||
.Pp
|
||||
Some of the more commonly used signals:
|
||||
.Bl -tag -width Ds -compact
|
||||
.Pp
|
||||
.Bl -tag -width indent -compact
|
||||
.It 1
|
||||
HUP (hang up)
|
||||
.It 2
|
||||
@ -119,17 +116,17 @@ manual page.
|
||||
.Ex -std
|
||||
.Sh EXAMPLES
|
||||
Terminate
|
||||
the processes with pids 142 and 157:
|
||||
the processes with PIDs 142 and 157:
|
||||
.Pp
|
||||
.Dl "kill 142 157"
|
||||
.Pp
|
||||
Send the hangup signal
|
||||
.Pq Dv SIGHUP
|
||||
to the process with pid 507:
|
||||
to the process with PID 507:
|
||||
.Pp
|
||||
.Dl "kill -s HUP 507"
|
||||
.Pp
|
||||
Terminate the process group with pgid 117:
|
||||
Terminate the process group with PGID 117:
|
||||
.Pp
|
||||
.Dl "kill -- -117"
|
||||
.Sh SEE ALSO
|
||||
@ -142,7 +139,7 @@ Terminate the process group with pgid 117:
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm
|
||||
function is expected to be
|
||||
utility is expected to be
|
||||
.St -p1003.2
|
||||
compatible.
|
||||
.Sh HISTORY
|
||||
|
Loading…
Reference in New Issue
Block a user