Debian Codegraph @

man/skill.1

raw
1 .\"
2 .\" Copyright (c) 2011-2024 Craig Small <[email protected]>
3 .\" Copyright (c) 2011-2012 Sami Kerola <[email protected]>
4 .\" Copyright (c) 2002-2006 Albert Cahalan
5 .\"
6 .\" This program is free software; you can redistribute it and/or modify
7 .\" it under the terms of the GNU General Public License as published by
8 .\" the Free Software Foundation; either version 2 of the License, or
9 .\" (at your option) any later version.
10 .\"
11 .\"
12 .TH SKILL 1 2024-08-01 procps-ng
13 .SH NAME
14 skill, snice \- send a signal or report process status
15 .SH SYNOPSIS
16 .B skill
17 .RI [ signal-option ]
18 .RI [ other-option " .\|.\|.\&]"
19 .I expression
20 .P
21 .B snice
22 .RI [ new-priority ]
23 .RI [ option " .\|.\|.\&]"
24 .I expression
25 .SH DESCRIPTION
26 These tools are obsolete and unportable. The command syntax is
27 poorly defined. Consider using the
28 .BR killall ,
29 .BR pkill ,
30 and
31 .B pgrep
32 commands instead.
33 .PP
34 The default signal for \fBskill\fP is TERM. Use \fB\-l\fP or \fB\-L\fP to list
35 available signals. Particularly useful signals include HUP, INT,
36 KILL, STOP, CONT, and 0. Alternate signals may be specified in three
37 ways: \fB\-9\fP \fB\-SIGKILL\fP \fB\-KILL\fP.
38 .PP
39 The default priority for \fBsnice\fP is +4. Priority numbers range from
40 +20 (slowest) to \-20 (fastest). Negative priority numbers are
41 restricted to administrative users.
42 .SH OPTIONS
43 .TP
44 .BR \-f , \ \-\-fast
45 Fast mode. This option has not been implemented.
46 .TP
47 .BR \-i , \ \-\-interactive
48 Interactive use. You will be asked to approve each action.
49 .TP
50 .BR \-l , \ \-\-list
51 List all signal names.
52 .TP
53 .BR \-L , \ \-\-table
54 List all signal names in a nice table.
55 .TP
56 .BR \-n , \ \-\-no\-action
57 No action; perform a simulation of events that would occur but do not
58 actually change the system.
59 .TP
60 .BR \-v , \ \-\-verbose
61 Verbose; explain what is being done.
62 .TP
63 .BR \-w , \ \-\-warnings
64 Enable warnings. This option has not been implemented.
65 .TP
66 .BR \-h , \ \-\-help
67 Display help text and exit.
68 .TP
69 .BR \-V , \ \-\-version
70 Display version information.
71 .SH "PROCESS SELECTION OPTIONS"
72 Selection criteria can be: terminal, user, pid, command. The options
73 below may be used to ensure correct interpretation.
74 .TP
75 .BI \-t \ tty\fR,\ \-\-tty \ tty
76 The next expression is a terminal (tty or pty).
77 .TP
78 .BI \-u \ user\fR,\ \-\-user \ user
79 The next expression is a username.
80 .TP
81 .BI \-p \ pid\fR,\ \-\-pid \ pid
82 The next expression is a process ID number.
83 .TP
84 .BI \-c \ command\fR,\ \-\-command \ command
85 The next expression is a command name.
86 .TP
87 .BI \-\-ns \ pid
88 Match the processes that belong to the same namespace as pid.
89 .TP
90 .RI \fB\-\-nslist \ ns , .\|.\|.
91 list which namespaces will be considered for the \fB\-\-ns\fP option.
92 Available namespaces: ipc, mnt, net, pid, user, uts.
93 .SH SIGNALS
94 The behavior of signals is explained in
95 .BR signal (7)
96 manual page.
97 .SH EXAMPLES
98 .TP
99 .B snice \-c seti \-c crack +7
100 Slow down \fBseti\fP and \fBcrack\fP commands.
101 .TP
102 .B skill \-KILL \-t /dev/pts/*
103 Kill users on PTY devices.
104 .TP
105 .B skill \-STOP \-u viro \-u lm \-u davem
106 Stop three users.
107 .SH "SEE ALSO"
108 .BR kill (1),
109 .BR kill (2),
110 .BR killall (1),
111 .BR nice (1),
112 .BR pkill (1),
113 .BR renice (1),
114 .BR signal (7)
115 .SH STANDARDS
116 No standards apply.
117 .SH AUTHOR
118 .MT [email protected]
119 Albert Cahalan
120 .ME
121 wrote skill and snice in 1999 as a replacement for a non-free
122 version.
123 .SH "REPORTING BUGS"
124 Please send bug reports to
125 .MT [email protected]
126 .ME .