2009-09-10 13:58:49 +05:30
|
|
|
'\" -*- coding: UTF-8 -*-
|
|
|
|
.\" 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 License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public License
|
|
|
|
.\" along with this program; if not, write to the Free Software
|
|
|
|
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
.\"
|
2022-02-16 02:31:41 +05:30
|
|
|
.TH KILLALL5 8 "04 Nov 2003" "sysvinit " "Linux System Administrator's Manual"
|
2009-09-10 13:58:49 +05:30
|
|
|
.SH NAME
|
2021-12-28 01:44:42 +05:30
|
|
|
killall5 - send a signal to all processes
|
2009-09-10 13:58:49 +05:30
|
|
|
.SH SYNOPSIS
|
|
|
|
.B killall5
|
2019-03-04 03:02:28 +05:30
|
|
|
.B \-signalnumber
|
2009-09-10 13:58:49 +05:30
|
|
|
.RB [ \-o
|
2019-03-04 03:02:28 +05:30
|
|
|
.IR omitpid [, omitpid ...]]
|
2009-09-10 13:58:49 +05:30
|
|
|
.RB [ \-o
|
2019-03-04 03:02:28 +05:30
|
|
|
.IR omitpid [, omitpid ...]...]
|
2009-09-10 13:58:49 +05:30
|
|
|
.SH DESCRIPTION
|
|
|
|
.B killall5
|
2021-12-28 01:44:42 +05:30
|
|
|
is the SystemV \fBkillall\fR command. It sends a signal to all processes except
|
2009-09-10 13:58:49 +05:30
|
|
|
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
|
2021-12-28 01:44:42 +05:30
|
|
|
(only) use is in the \fBrc\fP scripts found in the \fI/etc/init.d\fP directory.
|
2009-09-10 13:58:49 +05:30
|
|
|
.SH OPTIONS
|
2021-12-28 01:44:42 +05:30
|
|
|
.IP "\fB-o\fP \fIomitpid\fP"
|
|
|
|
Tells \fBkillall5\fP to omit processes with that process id.
|
2009-09-10 13:58:49 +05:30
|
|
|
.SH NOTES
|
2021-12-28 01:44:42 +05:30
|
|
|
\fBkillall5\fP can also be invoked as \fBpidof\fP(8), which is simply a
|
|
|
|
(symbolic) link to the \fBkillall5\fP program.
|
2009-09-10 13:58:49 +05:30
|
|
|
.SH EXIT STATUS
|
2021-12-28 01:44:42 +05:30
|
|
|
The program return zero if it killed processes. It returns 2 if no
|
2009-09-10 13:58:49 +05:30
|
|
|
process were killed, and 1 if it was unable to find any processes
|
2021-12-28 01:44:42 +05:30
|
|
|
(\fI/proc/\fP is missing).
|
2009-09-10 13:58:49 +05:30
|
|
|
.SH SEE ALSO
|
|
|
|
.BR halt (8),
|
|
|
|
.BR reboot (8),
|
|
|
|
.BR pidof (8)
|
|
|
|
.SH AUTHOR
|
2021-12-28 01:44:42 +05:30
|
|
|
.MT miquels@\:cistron\:.nl
|
|
|
|
Miquel van Smoorenburg
|
|
|
|
.ME
|