尝试以简单的方式安装 bpytop。
pytop
Command 'pytop' not found, did you mean:
command 'bpytop' from snap bpytop (1.0.50)
Run Code Online (Sandbox Code Playgroud)
好的,让我们一起做:
snap install bpytop
bpytop 1.0.50 from James Tigert (kz6fittycent) installed
root@xxx:/home/xxx# bpytop
Bpytop exited with errorcode (1). See /root/snap/bpytop/186/.config/bpytop/error.log for mor information!
10/12/20 (14:30:13) | ERROR: Data collection thread failed with exception: [Errno 13] **Permission denied**: '/proc/diskstats'
...
10/12/20 (14:30:13) | WARNING: Exiting with errorcode (1). Runtime 0:00:03
Run Code Online (Sandbox Code Playgroud)
好,我懂了:
这种方式不允许 bpytop 访问“硬件”
任何意见?
猜猜我最好还是老样子:
github -> 进行安装
monitoring ×1