--top-int command line option not working

Bug #910038 reported by Cosmin L
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dstat (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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 address hidden>
Original-Maintainer: Andrew Pollock <email address hidden>
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"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dstat (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.