Blame SOURCES/killpgrp.8

f09cb9
.\" This file is distributed in the hope that it will be useful,
f09cb9
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
f09cb9
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
f09cb9
.\" the GNU General Public License for more details.
f09cb9
.\"
f09cb9
.\" You should have received a copy of the GNU General Public License
f09cb9
.\" along with this file; if not, write to the Free Software
f09cb9
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston,
f09cb9
.\" MA 02111-1307 USA
f09cb9
.\"
f09cb9
.\" HISTORY:
f09cb9
.\" 2006-05-16, created by Rodrigo Rubira Branco <rrbranco@br.ibm.com>
f09cb9
.TH killpgrp 8 "May 16, 2006" "User Manuals" "User Manuals"
f09cb9
.SH NAME
f09cb9
killpgrp \- kill all processes in the same process group
f09cb9
.SH SYNOPSIS
f09cb9
.nf
f09cb9
.fam C
f09cb9
\fBkillpgrp\fP
f09cb9
.fam T
f09cb9
.fi
f09cb9
.SH DESCRIPTION
f09cb9
Kills all processes in its process group when a process group leader is killed.
f09cb9
.PP
f09cb9
This program needs to be called by the client uid defined in amanda, and is used to kill VDUMP, VXDUMP, and XFSDUMP in a safe manner. It is called by sendsize, the amanda client software.
f09cb9
.PP
f09cb9
killpgrp send a SIGTERM to all processes in its process group. If a process in the group does not exit after three seconds
f09cb9
and does not answer, killpgp will send a SIGKILL.
f09cb9
.SH OPTIONS
f09cb9
\fBkillpgrp\fP takes no arguments.
f09cb9
.SH SECURITY
f09cb9
\fBkillpgrp\fP needs to be setuid root unless amanda is compiled with DONT_SUID_ROOT.
f09cb9
.SH SEE ALSO
f09cb9
\fBamanda\fP(8)
f09cb9
.SH AUTHOR
f09cb9
Manpage written by Rodrigo Rubira Branco <rrbranco@br.ibm.com>