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