nethogs
查看进程占用的带宽
- 安装
yum -y install nethogs - 常用命令
nethogs eth0 -d 5 //这个命令意思是监控网卡eth0的带宽占用情况,每五秒刷新一次;
nethogs eth0 eth1 //同时监视eth0和eth1接口; - 交互式命令
q: quit
s: sort by SENT traffic
r: sort by RECEIVE traffic
m: switch between total (KB, B, MB) and KB/s mode


