Package: dstat
Version: 0.6.7-1
Severity: normal

Just encountered the following error (after dstat was running continously for over an hour):

-------cpu0-usage--------------cpu1-usage------ -dsk/total- --net/eth0- ---paging-- ---system-- usr sys idl wai hiq siq:usr sys idl wai hiq siq| read writ| recv send| in out | int csw [...] 2 2 58 38 0 0: 0 19 67 0 0 14| 0 112k|9271k 6441k| 0 0 |4418 1343 Traceback (most recent call last):
    File "/usr/bin/dstat", line 2041, in <module>
      main()
    File "/usr/bin/dstat", line 1986, in main
      o.extract()
    File "/usr/bin/dstat", line 516, 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


-- System Information:
Debian Release: 5.0.3
    APT prefers stable
    APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dstat depends on:
ii python 2.5.2-3 An interactive high-level object-o ii python-central 0.6.8 register and build utility for Pyt

dstat recommends no packages.

dstat suggests no packages.

-- no debconf information

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to