dosc: add long options to skill.1

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-10-22 21:07:10 +02:00
parent 526bae02bb
commit 7af3d4efce

44
skill.1
View File

@ -20,8 +20,8 @@ skill, snice \- send a signal or report process status
.RI [ options ] .RI [ options ]
.I expression .I expression
.SH DESCRIPTION .SH DESCRIPTION
These tools are probably obsolete and unportable. The command syntax These tools are obsolete and unportable. The command syntax is
is poorly defined. Consider using the killall, pkill, and pgrep poorly defined. Consider using the killall, pkill, and pgrep
commands instead. commands instead.
.PP .PP
The default signal for skill is TERM. Use \-l or \-L to list The default signal for skill is TERM. Use \-l or \-L to list
@ -34,45 +34,48 @@ The default priority for snice is +4. Priority numbers range from
restricted to administrative users. restricted to administrative users.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \-f .BR \-f , \ \-\-fast
Fast mode. This option has not been implemented. Fast mode. This option has not been implemented.
.TP .TP
.B \-i .BR \-i , \ \-\-interactive
Bnteractive move. Interactive use. You will be asked to approve each action.
.TP .TP
.B \-l .BR \-l , \ \-\-list
List all signal names. List all signal names.
.TP .TP
.B \-L .BR \-L , \ \-\-table
List all signal names in a nice table. List all signal names in a nice table.
.TP .TP
.B \-n .BR \-n , \ \-\-no\-action
No action; perform a simulation of events that would occur but do not No action; perform a simulation of events that would occur but do not
actually change the system. actually change the system.
.TP .TP
.B \-v .BR \-v , \ \-\-verbose
Verbose; explain what is being done. Verbose; explain what is being done.
.TP .TP
.B \-w .BR \-w , \ \-\-warnings
Enable warnings. This option has not been implemented. Enable warnings. This option has not been implemented.
.TP .TP
.B \-V, \-\-verbose \fB\-h\fR, \fB\-\-help\fR
Display version information and exit. Display help text and exit.
.TP
\fB\-V\fR, \fB\-\-version\fR
Display version information.
.PD .PD
.SH "PROCESS SELECTION OPTIONS" .SH "PROCESS SELECTION OPTIONS"
Selection criteria can be: terminal, user, pid, command. The options Selection criteria can be: terminal, user, pid, command. The options
below may be used to ensure correct interpretation. below may be used to ensure correct interpretation.
.TP .TP
.B \-t \fB\-t\fR, \fB\-\-tty\fR \fItty\fR
The next expression is a terminal (tty or pty). The next expression is a terminal (tty or pty).
.TP .TP
.B \-u \fB\-u\fR, \fB\-\-user\fR \fIuser\fR
The next expression is a username. The next expression is a username.
.TP .TP
.B \-p \fB\-p\fR, \fB\-\-pid\fR \fIpid\fR
The next expression is a process ID number. The next expression is a process ID number.
.TP .TP
.B \-c \fB\-c\fR, \fB\-\-command\fR \fIcommand\fR
The next expression is a command name. The next expression is a command name.
.PD .PD
.SH SIGNALS .SH SIGNALS
@ -81,17 +84,14 @@ The behavior of signals is explained in
manual page. manual page.
.SH EXAMPLES .SH EXAMPLES
.TP .TP
.B snice seti crack +7 .B snice -c seti -c crack +7
Slow down seti and crack commands. Slow down seti and crack commands.
.TP .TP
.B skill \-KILL \-v /dev/pts/* .B skill \-KILL \-t /dev/pts/*
Kill users on PTY devices. Kill users on PTY devices.
.TP .TP
.B skill \-STOP viro lm davem .B skill \-STOP \-u viro \-u lm \-u davem
Stop three users. Stop three users.
.TP
.B snice \-17 root bash
Give priority to root's shell
.SH "SEE ALSO" .SH "SEE ALSO"
.BR kill (1), .BR kill (1),
.BR kill (2), .BR kill (2),