The network monitoring tool nethogs under centos

A. nethogs
Sometimes I find that the server network is slow, and I further find that a lot of bandwidth is occupied. There are many tools for monitoring traffic under linux [iftop iptraf ifstat darkstat bwm-ng vnstat], etc. Most of them are statistics and monitoring of network card traffic. A tool that can monitor the network bandwidth usage of each process 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

Use q key to exit (same as top exit key)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326286561&siteId=291194637