1Proc::Killfam(3) User Contributed Perl Documentation Proc::Killfam(3)
23
4
NAME
6Proc::Killfam - kill a list of pids, and all their sub-children
7
SYNOPSIS
9use Proc::Killfam;
10killfam $signal, @pids;
11
DESCRIPTION
13killfam accepts the same arguments as the Perl builtin kill command,
14but, additionally, recursively searches the process table for children
15and kills them as well.
16
EXAMPLE
18killfam 'TERM', ($pid1, $pid2, @more_pids);
19
KEYWORDS
21kill, signal
2223
24
25
perl v5.38.0 2023-07-21 Proc::Killfam(3)