优化排查工具之nethogs

作者: admin 分类: Linux 发布时间: 2018-07-17 14:51 浏览:826 次    
  • nethogs   #网络流量监控

1、安装

[root@localhost ~]# yum -y install nethogs

2、参数使用

[root@localhost ~]# nethogs -d 3         #-d刷新时间,默认为1S
[root@localhost ~]# nethogs eno16777736   #指定监控网卡
[root@localhost ~]# nethogs

 PID USER PROGRAM DEV SENT RECEIVED
 35174 root ab eno167 2.013 89.257 KB/sec
 3011 root sshd: root@pts/2 eno167 0.194 0.059 KB/sec
 ? root 172.20.10.7:55435-61.135.169.121:80 0.000 0.000 KB/sec
 ? root unknown TCP 0.000 0.000 KB/sec

 


温馨提示:如无特殊说明,本站文章均为作者原创,转载时请注明出处及相应链接!

发表评论