Scroll to navigation

SKILL(1) General Commands Manual SKILL(1)

NAME

skill, snice - send a signal or report process status

SYNOPSIS

skill [signal-option] [other-option ...] expression

snice [new-priority] [option ...] expression

DESCRIPTION

These tools are obsolete and unportable. The command syntax is poorly defined. Consider using the killall, pkill, and pgrep commands instead.

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.

The default priority for snice is +4. Priority numbers range from +20 (slowest) to -20 (fastest). Negative priority numbers are restricted to administrative users.

OPTIONS

Fast mode. This option has not been implemented.
Interactive use. You will be asked to approve each action.
List all signal names.
List all signal names in a nice table.
No action; perform a simulation of events that would occur but do not actually change the system.
Verbose; explain what is being done.
Enable warnings. This option has not been implemented.
Display help text and exit.
Display version information.

PROCESS SELECTION OPTIONS

Selection criteria can be: terminal, user, pid, command. The options below may be used to ensure correct interpretation.

The next expression is a terminal (tty or pty).
The next expression is a username.
The next expression is a process ID number.
The next expression is a command name.
Match the processes that belong to the same namespace as pid.
--nslist ns,...
list which namespaces will be considered for the --ns option. Available namespaces: ipc, mnt, net, pid, user, uts.

SIGNALS

The behavior of signals is explained in signal(7) manual page.

EXAMPLES

Slow down seti and crack commands.
Kill users on PTY devices.
Stop three users.

SEE ALSO

kill(1), kill(2), killall(1), nice(1), pkill(1), renice(1), signal(7)

STANDARDS

No standards apply.

AUTHOR

Albert Cahalan wrote skill and snice in 1999 as a replacement for a non-free version.

REPORTING BUGS

Please send bug reports to procps@freelists.org.

2024-08-01 procps-ng