一直用ethstatus比较多,但是ethstatus不能查看哪个进程占用网速比较多,百度了下 nethogs可以做到
一,ethstatus
安装: sudo apt-get install ethstatus
使用:sudo ethstatus -i eth0
二,nethogs
安装:sudo apt install nethogs
使用:sudo nethogs eth0
如果安装完后报错:creating socket failed are you root?,可以参考该链接:https://www.bennythink.com/nethogs-bug-v0-8-0.html