Here is my suggestion, taking into account the "U" to mean NaN and also
I note that you can get deep negative spikes when the counters clock
over (unless I'm mistaken they are 32 bit counters, even on a 64 bit
kernel, and yes I do seem to have managed to clock at least one over).

LINE 202:   print("${dev}_rtime.value ", ($rio_diff > 0 and $rtime_diff > 0) ? 
($rtime_diff / $rio_diff) : 'U', "\n",
LINE 203:              "${dev}_wtime.value ", ($wio_diff > 0 and $wtime_diff > 
0) ? ($wtime_diff / $wio_diff) : 'U', "\n",
LINE 204:         );


I've tested this for about half a day and it looks much nicer than the old 
version, less clutter. When IO is not happening on a drive, the trace goes 
away, and I think that's what should happen (people might for example use a 
drive only for backups or some other intermittent activity).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/919429

Title:
  Munin "IO Service Time" graph gives completely implausible numbers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/919429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to