8 use Proc
::ProcessTable
;
12 my $week_ago = time-60*60*24*7;
13 my $t = new Proc
::ProcessTable
;
15 my $reporoot = $Girocco::Config
::reporoot
;
16 foreach my $p ( @
{$t->table} ) {
17 if ($p->start() < $week_ago &&
18 ($p->cmndline() =~ /git-daemon --inetd --verbose --enable=upload-archive --base-path=\Q$reporoot\E --export-all/o ||
19 $p->cmndline() =~ /git upload-pack --strict --timeout=0 \./)) {
20 print Dumper
$p if $ENV{'PERL_DEBUG'};