1、安装
# yum install iftop –y
2、使用
# iftop -i eth0 -n # iftop -i eth0 -P
说明:
中间的<= =>这两个左右箭头,表示的是流量的方向。 TX:发送流量 RX:接收流量 TOTAL:总流量 Cum:运行iftop到目前时间的总流量 peak:流量峰值 rates:分别表示过去 2s 10s 40s 的平均流量