Blame SOURCES/killpgrp.8

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