Public bug reported:
I'm having the following error while trying to use --top-int on dstat:
# dstat --top-int
Traceback (most recent call last):
File "/usr/bin/dstat", line 2554, in <module>
main()
File "/usr/bin/dstat", line 2416, in main
scheduler.run()
File "/usr/lib/python2.7/sched.py", line 117, in run
action(*argument)
File "/usr/bin/dstat", line 2510, in perform
o.extract()
File "/usr/share/dstat/dstat_top_int.py", line 40, in extract
total = (self.intset2[i] - self.intset1[i]) * 1.0 / elapsed
IndexError: list index out of range
# apt-cache show dstat
Package: dstat
Priority: optional
Section: universe/admin
Installed-Size: 536
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Andrew Pollock <[email protected]>
Architecture: all
Version: 0.7.2-2
Depends: python (>= 2.7.1-0ubuntu2)
Conflicts: sleuthkit (<< 1.73-2)
Filename: pool/universe/d/dstat/dstat_0.7.2-2_all.deb
Size: 68052
MD5sum: 87dedc12b0dd2cb77855d8e133b7a085
SHA1: 990e3a231e74fac7eb149f5150c1e9ec447efab5
SHA256: 4587b7ef1eaf97c6f473e7cf066feb03f010af2809724f6f5646e59cfe902cba
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
** Affects: dstat (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910038
Title:
--top-int command line option not working
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/910038/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs