iftop是类似于linux下面top的实时流量监控工具。比iptraf直观些。

yum install -y iftop
apt install -y iftop

使用

iftop -i eth0 #指定监控网卡接口

TX:发送流量
RX:接收流量
TOTAL:总流量
Cumm:运行iftop到目前时间的总流量
peak:流量峰值
rates:分别表示过去 2s 10s 40s 的平均流量

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code