CentOS7 网络流量监控

0x01 tcptrack 查看网卡流量

yum install -y libpcap-devel libpcap
wget http://packages.psychotic.ninja/7/base/x86_64/RPMS/tcptrack-1.4.2-9.el7.psychotic.x86_64.rpm
rpm -ivh tcptrack-1.4.2-9.el7.psychotic.x86_64.rpm
ifconfig  # 查找网络接口
tcptrack -i eth1

0x02 nethogs 查看进程网速

yum install -y nethogs
nethogs

0x03 nload 流量趋势

yum -y install nload
nload

你可能感兴趣的:(CentOS7 网络流量监控)