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