man-pages/man1/skill.1.html
2021-03-31 01:06:50 +01:00

194 lines
4.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SKILL</TITLE>
</HEAD><BODY>
<H1>SKILL</H1>
Section: User Commands (1)<BR>Updated: 2018-05-31<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
skill, snice - send a signal or report process status
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>skill</B>
[<I>signal</I>]
[<I>options</I>]
<I>expression</I>
<BR>
<B>snice</B>
[<I>new priority</I>]
[<I>options</I>]
<I>expression</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
These tools are obsolete and unportable. The command syntax is
poorly defined. Consider using the killall, pkill, and pgrep
commands instead.
<P>
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.
<P>
The default priority for snice is +4. Priority numbers range from
+20 (slowest) to -20 (fastest). Negative priority numbers are
restricted to administrative users.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-f</B>,<B>&nbsp;--fast</B>
<DD>
Fast mode. This option has not been implemented.
<DT id="2"><B>-i</B>,<B>&nbsp;--interactive</B>
<DD>
Interactive use. You will be asked to approve each action.
<DT id="3"><B>-l</B>,<B>&nbsp;--list</B>
<DD>
List all signal names.
<DT id="4"><B>-L</B>,<B>&nbsp;--table</B>
<DD>
List all signal names in a nice table.
<DT id="5"><B>-n</B>,<B>&nbsp;--no-action</B>
<DD>
No action; perform a simulation of events that would occur but do not
actually change the system.
<DT id="6"><B>-v</B>,<B>&nbsp;--verbose</B>
<DD>
Verbose; explain what is being done.
<DT id="7"><B>-w</B>,<B>&nbsp;--warnings</B>
<DD>
Enable warnings. This option has not been implemented.
<DT id="8"><B>-h</B>, <B>--help</B><DD>
Display help text and exit.
<DT id="9"><B>-V</B>, <B>--version</B><DD>
Display version information.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>PROCESS SELECTION OPTIONS</H2>
Selection criteria can be: terminal, user, pid, command. The options
below may be used to ensure correct interpretation.
<DL COMPACT>
<DT id="10"><B>-t</B>, <B>--tty</B> <I>tty</I><DD>
The next expression is a terminal (tty or pty).
<DT id="11"><B>-u</B>, <B>--user</B> <I>user</I><DD>
The next expression is a username.
<DT id="12"><B>-p</B>, <B>--pid</B> <I>pid</I><DD>
The next expression is a process ID number.
<DT id="13"><B>-c</B>, <B>--command</B> <I>command</I><DD>
The next expression is a command name.
<DT id="14"><B>--ns </B><I>pid</I><DD>
Match the processes that belong to the same namespace as pid.
<DT id="15"><B>--nslist </B><I>ns/</I>,,<I>.../</I><DD>
list which namespaces will be considered for the --ns option.
Available namespaces: ipc, mnt, net, pid, user, uts.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>SIGNALS</H2>
The behavior of signals is explained in
<B><A HREF="/cgi-bin/man/man2html?7+signal">signal</A></B>(7)
manual page.
<A NAME="lbAH">&nbsp;</A>
<H2>EXAMPLES</H2>
<DL COMPACT>
<DT id="16"><B>snice -c seti -c crack +7</B>
<DD>
Slow down seti and crack commands.
<DT id="17"><B>skill -KILL -t /dev/pts/*</B>
<DD>
Kill users on PTY devices.
<DT id="18"><B>skill -STOP -u viro -u lm -u davem</B>
<DD>
Stop three users.
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+kill">kill</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?2+kill">kill</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?1+killall">killall</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+nice">nice</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pkill">pkill</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+renice">renice</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?7+signal">signal</A></B>(7)
<A NAME="lbAJ">&nbsp;</A>
<H2>STANDARDS</H2>
No standards apply.
<A NAME="lbAK">&nbsp;</A>
<H2>AUTHOR</H2>
Albert Cahalan
wrote skill and snice in 1999 as a replacement for a non-free
version.
<A NAME="lbAL">&nbsp;</A>
<H2>REPORTING BUGS</H2>
Please send bug reports to
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="19"><A HREF="#lbAB">NAME</A><DD>
<DT id="20"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="21"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="22"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="23"><A HREF="#lbAF">PROCESS SELECTION OPTIONS</A><DD>
<DT id="24"><A HREF="#lbAG">SIGNALS</A><DD>
<DT id="25"><A HREF="#lbAH">EXAMPLES</A><DD>
<DT id="26"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="27"><A HREF="#lbAJ">STANDARDS</A><DD>
<DT id="28"><A HREF="#lbAK">AUTHOR</A><DD>
<DT id="29"><A HREF="#lbAL">REPORTING BUGS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:27 GMT, March 31, 2021
</BODY>
</HTML>