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