more mrtg, store in 10ths and display to 0.1 sec
[spider.git] / cmd / mrtg.pl
index 9339f0fc61e7c764127f71e3ff1f2624e4b5eba0..ce1d1020652cd4cab88a99089177989293b91fea 100644 (file)
@@ -80,8 +80,8 @@ sub do_it
                dbg "mrtg: proc: cluster=$main::clssecs children=$main::cldsecs clock=$secs" if isdbg('mrtg');
                
                $mc->cfgprint('proc', [qw(unknaszero withzeroes perminute)], 600, 
-                                         "CPU Usage of <font color=#00cc00>node</font> and its <font color=#0000ff>children</font> in 10th of secs",
-                                         '10th Secs/min', 'Cluster Secs*10', 'Child Secs*10') unless $want{dataonly};
+                                         "CPU Usage of <font color=#00cc00>node</font> and its <font color=#0000ff>children</font> in seconds",
+                                         'CPU Secs/min', 'Node Secs 10ths', 'Child Secs 10ths', 0.1) unless $want{dataonly};
                $mc->data('proc', int($main::clssecs*10+0.5), int($main::cldsecs*10+0.5), "Processor Usage") unless $want{cfgonly};
        }