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