skill, snice β send a signal or report process status
| Use Case | Command | Description |
|---|---|---|
| Send TERM signal to processes matching expression | skill [signal] expression | Default signal is TERM |
| Kill all processes on a PTY device | skill -KILL -t /dev/pts/* | Forcefully kill users on a terminal |
| Stop (pause) processes for multiple users | skill -STOP -u user1 -u user2 | Stop specified usersβ processes |
| Change process priority | snice +7 -c command | Slow down (or speed up) a command |
| List available signals | skill -l | Display all signal names |
| Simulate actions without effect | skill -n expression | Noβaction mode for testing |
skill [signal] [options] expression
snice [new priority] [options] expression
β οΈ 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.
-f, --fast β β‘ Fast mode. This option has not been implemented.-i, --interactive β π€ Interactive use. You will be asked to approve each action.-l, --list β π List all signal names.-L, --table β ποΈ List all signal names in a nice table.-n, --no-action β π§ͺ No action; perform a simulation of events that would occur but do not actually change the system.-v, --verbose β π£οΈ Verbose; explain what is being done.-w, --warnings β β οΈ Enable warnings. This option has not been implemented.-h, --help β β Display help text and exit.-V, --version β βΉοΈ Display version information.Selection criteria can be: terminal, user, pid, command. The options below may be used to ensure correct interpretation.
-t, --tty tty β The next expression is a terminal (tty or pty).-u, --user user β The next expression is a username.-p, --pid pid β The next expression is a process ID number.-c, --command command β The next expression is a command name.--ns pid β 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.The behavior of signals is explained in signal(7) manual page.
snice -c seti -c crack +7
Slow down seti and crack commands.
skill -KILL -t /dev/pts/*
Kill users on PTY devices.
skill -STOP -u viro -u lm -u davem
Stop three users.
kill(1), kill(2), killall(1), nice(1), pkill(1), renice(1), signal(7)
No standards apply.
Albert Cahalan <albert AT users.net> wrote skill and snice in 1999 as a replacement for a non-free version.
Please send bug reports to <procps AT freelists.org>
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-05 22:50 @216.73.216.192
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format