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