centos下网络监测工具nethogs

A、nethogs
有时候我会发现服务器网络慢,进一步发现大量带宽被占用,在linux下有很多监控流量的工具【iftop iptraf ifstat darkstat bwm-ng vnstat】等大都是统计和监控网卡流量的,现在介绍一款可以监控每个进程的网络带宽占用情况的工具nethogs

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

[root@walle ~]# nethogs
Waiting for first packet to arrive (see sourceforge.net bug 1019381)
NetHogs version 0.8.5

    PID USER     PROGRAM            DEV        SENT      RECEIVED      
  23459 liuyi    ..hd: liuyi@pts/0  eth0        0.011       0.021 KB/sec
      ? root     unknown TCP                    0.000       0.000 KB/sec

使用q键退出(和top的退出键一致)

猜你喜欢

转载自liuyi201407313018.iteye.com/blog/2400640
今日推荐