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 --export-all --enable=upload-archive --base-path=\Q$reporoot\E/o ||
19 $p->cmndline() =~ /git[- ]upload-pack --strict --timeout=0 \./ ||
20 $p->cmndline() =~ /peek_packet/)) {
21 print Dumper
$p if $ENV{'PERL_DEBUG'};