89 lines
2.3 KiB
HTML
89 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of KILLALL5</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>KILLALL5</H1>
|
|
Section: Linux System Administrator's Manual (8)<BR>Updated: 04 Nov 2003<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
killall5 -- send a signal to all processes.
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>killall5</B>
|
|
|
|
<B>-signalnumber</B>
|
|
|
|
[<B>-o</B>
|
|
|
|
<I>omitpid</I>[,<I>omitpid</I>...]]
|
|
|
|
[<B>-o</B>
|
|
|
|
<I>omitpid</I>[,<I>omitpid</I>...]...]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>killall5</B>
|
|
|
|
is the SystemV killall command. It sends a signal to all processes except
|
|
kernel threads and the processes in its own session, so it won't kill
|
|
the shell that is running the script it was called from. Its primary
|
|
(only) use is in the <B>rc</B> scripts found in the /etc/init.d directory.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">-o <I>omitpid</I><DD>
|
|
Tells <I>killall5</I> to omit processes with that process id.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
<I>killall5</I> can also be invoked as pidof, which is simply a
|
|
(symbolic) link to the <I>killall5</I> program.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXIT STATUS</H2>
|
|
|
|
The program return zero if it killed processes. It return 2 if no
|
|
process were killed, and 1 if it was unable to find any processes
|
|
(/proc/ is missing).
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+halt">halt</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+reboot">reboot</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+pidof">pidof</A></B>(8)
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Miquel van Smoorenburg, <A HREF="mailto:miquels@cistron.nl">miquels@cistron.nl</A>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="5"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="6"><A HREF="#lbAF">NOTES</A><DD>
|
|
<DT id="7"><A HREF="#lbAG">EXIT STATUS</A><DD>
|
|
<DT id="8"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="9"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:13 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|