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