iotop -bo output can't be piped
Bug #337882 reported by
Keith Worrell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iotop (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: iotop
Attempting to pipe 'iotop -bo' or 'optop -bo 2>&1' to anything produced no output until after hitting 'ctrl-c' at which point produced the following:
---
^Cclose failed in file object destructor:
Error in sys.excepthook:
Original exception was:
---
iotop -b had no problems as far as I could tell
The easiest and most revealing way of producing this error was with 'iotop -bo | cat', but same error with sed and tee.
Using iotop version 0.2-3 (jaunty) and Ubuntu 9.04
I had expected it to work like 'top -bi | foo'
Related branches
To post a comment you must log in.
This bug is fixed upstream:
http:// repo.or. cz/w/iotop. git?a=commit; h=5be2a70fcffef acf1a5695bd0d2d 2edc51ffa2f1
It will be fixed once upstream has made a new release and I've packaged it for Debian.