2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

comment print statements that are not useful to munin

This commit is contained in:
Kenyon Ralph 2012-02-18 14:32:01 -08:00
parent 444ccae260
commit fc3bfaebc1

View File

@ -47,13 +47,13 @@ use Date::Parse;
my $kern=`sysctl -n kern.version`;
$kern=~ /:\s+(.*\S)\s+\w+\@/;
print "Compile: $1\n";
#print "Compile: $1\n";
$kern=str2time($1);
my $boot=`sysctl -n kern.boottime`; # OpenBSD will return seconds from the epoch
if ($ostype ne "OpenBSD") {
$boot=~ / sec = (\d+)/;
print "Boot: $1\n";
#print "Boot: $1\n";
$boot=$1;
}