Projet

Général

Profil

Révision fc3bfaeb

IDfc3bfaebc102b682edd9eea7e28da033c4e3fbd9
Parent 444ccae2
Enfant 9082a901

Ajouté par Kenyon Ralph il y a presque 14 ans

comment print statements that are not useful to munin

Voir les différences:

plugins/system/uptime_bsd
47 47

  
48 48
my $kern=`sysctl -n kern.version`;
49 49
$kern=~ /:\s+(.*\S)\s+\w+\@/;
50
print "Compile: $1\n";
50
#print "Compile: $1\n";
51 51
$kern=str2time($1);
52 52

  
53 53
my $boot=`sysctl -n kern.boottime`; # OpenBSD will return seconds from the epoch
54 54
if ($ostype ne "OpenBSD") {
55 55
        $boot=~ / sec = (\d+)/;
56
        print "Boot: $1\n";
56
        #print "Boot: $1\n";
57 57
        $boot=$1;
58 58
}
59 59

  

Formats disponibles : Unified diff