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