5

iftop-监控服务器实时带宽情况

 2 years ago
source link: https://blog.p2hp.com/archives/9380
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

介绍Linux查看带宽网卡流量的工具:iftop

iftop的功能:

  • 反向解析IP
  • 显示端口信息

安装iftop

yum install iftop -y

相关参数介绍

W1280
  • “<=”/"=>":流量的方向
  • “TX”:网卡发出的流量(出方向)
  • “RX”:网卡接收的流量(入方向)
  • “TOTAL”:网卡总流量(出和入方向总和)
  • “cum”:iftop运行到当前时间的总流量
  • “peak”:网卡的流量峰值
  • “rates”:分别表示2s,10s,40s的平均流量

效果截图省略


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK