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/scottchiefbaker/dool or https://github.com/performancecopilot/pcp/tree/master/src/pcp/dstat for replacing it. ** Description changed: + 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/python3.8/sched.py", line 151, in run - action(*argument, **kwargs) - File "/usr/bin/dstat", line 2806, in perform - oline = oline + o.showcsv() + o.showcsvend(totlist, vislist) - File "/usr/bin/dstat", line 547, in showcsv - if isinstance(self.val[name], types.ListType) or isinstance(self.val[name], types.TupleType): + 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/python3.8/sched.py", line 151, in run + action(*argument, **kwargs) + File "/usr/bin/dstat", line 2806, in perform + oline = oline + o.showcsv() + o.showcsvend(totlist, vislist) + File "/usr/bin/dstat", line 547, in showcsv + if isinstance(self.val[name], types.ListType) or isinstance(self.val[name], types.TupleType): NameError: name 'types' is not defined -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905665 Title: dstat --output is broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1905665/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs