dstat --output is broken
Bug #1905665 reported by
Torsten Bronger
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dstat (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 20.04,
dstat --output /tmp/foobar
results in a traceback about a missing import:
Traceback (most recent call last):
File "/usr/bin/dstat", line 2847, in <module>
main()
File "/usr/bin/dstat", line 2687, in main
scheduler.run()
File "/usr/lib/
action(
File "/usr/bin/dstat", line 2806, in perform
oline = oline + o.showcsv() + o.showcsvend(
File "/usr/bin/dstat", line 547, in showcsv
if isinstance(
NameError: name 'types' is not defined
Let me hijack my own bug report to declare that the dstat source used by Ubuntu is deceased. https:/ /github. com/dstat- real/dstat is not developed further.
Please consider
https:/ /github. com/scottchiefb aker/dool
or
https:/ /github. com/performance copilot/ pcp/tree/ master/ src/pcp/ dstat
for replacing it.