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:
parent
444ccae260
commit
fc3bfaebc1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user