不幸的是我无法在 proxmox-lxc-container 和 debian 8 模板上使用 iotop。
这是输出:
Traceback (most recent call last):
File "/usr/sbin/iotop", line 17, in <module>
main()
File "/usr/lib/python2.7/dist-packages/iotop/ui.py", line 620, in main
main_loop()
File "/usr/lib/python2.7/dist-packages/iotop/ui.py", line 610, in <lambda>
main_loop = lambda: run_iotop(options)
File "/usr/lib/python2.7/dist-packages/iotop/ui.py", line 506, in run_iotop
return run_iotop_window(None, options)
File "/usr/lib/python2.7/dist-packages/iotop/ui.py", line 498, in run_iotop_window
taskstats_connection = TaskStatsNetlink(options)
File "/usr/lib/python2.7/dist-packages/iotop/data.py", line 137, in __init__
self.family_id = controller.get_family_id('TASKSTATS')
File "/usr/lib/python2.7/dist-packages/iotop/genetlink.py", line 69, in get_family_id
m = GeNlMessage.recv(self.conn)
File "/usr/lib/python2.7/dist-packages/iotop/genetlink.py", line 51, in recv
msg = conn.recv()
File "/usr/lib/python2.7/dist-packages/iotop/netlink.py", line 229, in recv
raise err
OSError: Netlink error: No such file or directory (2)
有人知道如何解决这个问题吗?