ConfigServer Security & Firewall - csf v$myv
EOF
}
ConfigServer::DisplayResellerUI::main(\%FORM, $script, 0, $images, $myv);
unless ($FORM{action} eq "tailcmd" or $FORM{action} =~ /^cf/ or $FORM{action} eq "logtailcmd" or $FORM{action} eq "loggrepcmd") {
print <
\n";
print @footer;
print "\n";
print "\n";
}
sub getexe {
my $thispid = shift;
open (my $STAT, "<", "/proc/".$thispid."/stat");
my $stat = <$STAT>;
close ($STAT);
chomp $stat;
$stat =~ /\w\s+(\d+)\s+[^\)]*$/;
my $ppid = $1;
my $exe = readlink("/proc/".$ppid."/exe");
return ($ppid, $exe);
}
1;