2002-10-24 01:07:20 +05:30
|
|
|
'\" t
|
2002-02-02 04:17:29 +05:30
|
|
|
.\" (The preceding line is a note to broken versions of man to tell
|
|
|
|
.\" them to pre-process this man page with tbl)
|
|
|
|
.\" Man page for skill and snice.
|
|
|
|
.\" Licensed under version 2 of the GNU General Public License.
|
|
|
|
.\" Written by Albert Cahalan, converted to a man page by
|
|
|
|
.\" Michael K. Johnson
|
|
|
|
.\"
|
2011-10-02 04:45:12 +05:30
|
|
|
.TH SKILL 1 "October 2011" "procps-ng" "User Commands"
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH NAME
|
2003-06-30 09:00:35 +05:30
|
|
|
skill, snice \- send a signal or report process status
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH SYNOPSIS
|
2011-02-23 13:47:54 +05:30
|
|
|
.B skill
|
2011-10-02 04:45:12 +05:30
|
|
|
.RI [ signal ]
|
2011-02-23 13:47:54 +05:30
|
|
|
.RI [ options ]
|
2011-10-02 04:45:12 +05:30
|
|
|
.I expression
|
2011-02-23 13:47:54 +05:30
|
|
|
.br
|
|
|
|
.B snice
|
|
|
|
.RI [ "new priority" ]
|
|
|
|
.RI [ options ]
|
2011-10-02 04:45:12 +05:30
|
|
|
.I expression
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH DESCRIPTION
|
2011-10-23 00:37:10 +05:30
|
|
|
These tools are obsolete and unportable. The command syntax is
|
|
|
|
poorly defined. Consider using the killall, pkill, and pgrep
|
2011-10-02 04:45:12 +05:30
|
|
|
commands instead.
|
|
|
|
.PP
|
|
|
|
The default signal for skill is TERM. Use \-l or \-L to list
|
|
|
|
available signals. Particularly useful signals include HUP, INT,
|
|
|
|
KILL, STOP, CONT, and 0. Alternate signals may be specified in three
|
|
|
|
ways: \-9 \-SIGKILL \-KILL.
|
|
|
|
.PP
|
|
|
|
The default priority for snice is +4. Priority numbers range from
|
|
|
|
+20 (slowest) to \-20 (fastest). Negative priority numbers are
|
|
|
|
restricted to administrative users.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.BR \-f , \ \-\-fast
|
2011-10-02 04:45:12 +05:30
|
|
|
Fast mode. This option has not been implemented.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.BR \-i , \ \-\-interactive
|
|
|
|
Interactive use. You will be asked to approve each action.
|
2011-10-02 04:45:12 +05:30
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.BR \-l , \ \-\-list
|
2011-10-02 04:45:12 +05:30
|
|
|
List all signal names.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.BR \-L , \ \-\-table
|
2011-10-02 04:45:12 +05:30
|
|
|
List all signal names in a nice table.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.BR \-n , \ \-\-no\-action
|
2011-10-02 04:45:12 +05:30
|
|
|
No action; perform a simulation of events that would occur but do not
|
|
|
|
actually change the system.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.BR \-v , \ \-\-verbose
|
2011-10-02 04:45:12 +05:30
|
|
|
Verbose; explain what is being done.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.BR \-w , \ \-\-warnings
|
2011-10-02 04:45:12 +05:30
|
|
|
Enable warnings. This option has not been implemented.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
Display help text and exit.
|
|
|
|
.TP
|
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
|
|
Display version information.
|
2011-10-02 04:45:12 +05:30
|
|
|
.PD
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH "PROCESS SELECTION OPTIONS"
|
2011-10-02 04:45:12 +05:30
|
|
|
Selection criteria can be: terminal, user, pid, command. The options
|
|
|
|
below may be used to ensure correct interpretation.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
\fB\-t\fR, \fB\-\-tty\fR \fItty\fR
|
2011-10-02 04:45:12 +05:30
|
|
|
The next expression is a terminal (tty or pty).
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
\fB\-u\fR, \fB\-\-user\fR \fIuser\fR
|
2011-10-02 04:45:12 +05:30
|
|
|
The next expression is a username.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
\fB\-p\fR, \fB\-\-pid\fR \fIpid\fR
|
2011-10-02 04:45:12 +05:30
|
|
|
The next expression is a process ID number.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
\fB\-c\fR, \fB\-\-command\fR \fIcommand\fR
|
2011-10-02 04:45:12 +05:30
|
|
|
The next expression is a command name.
|
|
|
|
.PD
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH SIGNALS
|
2011-10-02 04:45:12 +05:30
|
|
|
The behavior of signals is explained in
|
|
|
|
.BR signal (7)
|
|
|
|
manual page.
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH EXAMPLES
|
2011-10-02 04:45:12 +05:30
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.B snice -c seti -c crack +7
|
2011-10-02 04:45:12 +05:30
|
|
|
Slow down seti and crack commands.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.B skill \-KILL \-t /dev/pts/*
|
2011-10-02 04:45:12 +05:30
|
|
|
Kill users on PTY devices.
|
|
|
|
.TP
|
2011-10-23 00:37:10 +05:30
|
|
|
.B skill \-STOP \-u viro \-u lm \-u davem
|
2011-10-02 04:45:12 +05:30
|
|
|
Stop three users.
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH "SEE ALSO"
|
2011-10-02 04:45:12 +05:30
|
|
|
.BR kill (1),
|
|
|
|
.BR kill (2),
|
2011-02-23 13:47:54 +05:30
|
|
|
.BR killall (1),
|
2011-10-02 04:45:12 +05:30
|
|
|
.BR nice (1),
|
2011-02-23 13:47:54 +05:30
|
|
|
.BR pkill (1),
|
|
|
|
.BR renice (1),
|
|
|
|
.BR signal (7)
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH STANDARDS
|
|
|
|
No standards apply.
|
|
|
|
.SH AUTHOR
|
2012-04-16 16:25:53 +05:30
|
|
|
.UR albert@users.sf.net
|
2011-10-02 04:45:12 +05:30
|
|
|
Albert Cahalan
|
|
|
|
.UE
|
|
|
|
wrote skill and snice in 1999 as a replacement for a non-free
|
|
|
|
version.
|
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Please send bug reports to
|
2012-04-16 16:25:53 +05:30
|
|
|
.UR procps@freelists.org
|
2011-10-02 04:45:12 +05:30
|
|
|
.UE
|