Copyright (C) 1998-2003 Miquel van Smoorenburg.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public...
(The comments found at the beginning of the groff file "man8/killall5.8".)
killall5 -- send a signal to all processes.
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 rc
scripts found in the /etc/init.d directory.
- -o omitpid
Tells killall5 to omit processes with that process id.
can also be invoked as pidof, which is simply a
(symbolic) link to the killall5
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).
Miquel van Smoorenburg, email@example.com