On Tue, 26 Feb 2008, Sam Morris wrote:

I've only seen the below happen once out of having run dstat dozens of
times, so it's not that high a priority. :)

----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
 8   0  92   0   0   0|   0     0 |  28k 1452B|   0     0 |  58   257
 7   2  91   0   0   0|   0   172k|  19k  926B|   0     0 |  67   238
 7   0  93   0   0   0|   0     0 |  10k  506B|   0     0 |  16   182
11   2  87   0   0   0|   0    44k|  23k 1212B|   0     0 |  62   362
 8   0  92   0   0   0|   0     0 |  23k 1229B|   0     0 |  45   213
 7   1  91   0   1   0|   0     0 |  10k  530B|   0     0 |  40   203
15   2  79   2   2   0|   0    68k|   0   120B|   0     0 |  23   168
12   1  86   0   1   0|   0  8192B|  23k 1327B|   0     0 |  76   317
 8   1  91   0   0   0|   0     0 |  20k 1235B|   0     0 |  37   238
Traceback (most recent call last):
 File "/usr/bin/dstat", line 1969, in ?
   main()
 File "/usr/bin/dstat", line 1914, in main
   o.extract()
 File "/usr/bin/dstat", line 511, in extract
   self.val[name][i] = 100.0 * (self.cn2[name][i] - self.cn1[name][i]) / 
(sum(self.cn2[name]) - sum(self.cn1[name]))
ZeroDivisionError: float division

Still I would like to know the circumstances when this happens. Is this possibly a virtual machine ? Have there been other issues, like time-synchronisation problems or hardware related problems ?

It would also be useful to know exactly it what module/plugin this happens :) So I guess I need to improve the code to show that information as well.
--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to