流量监控软件

   一.  iftop流量监控spa

  1.     安装
  2. wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz
  3. [root@localhost tmp]# tar -zxvf iftop-0.17.tar.gz
  4. [root@localhost iftop-0.17]# ./configure --prefix=/usr/local/iftop
  5. [root@localhost iftop-0.17]# make
  6. [root@localhost iftop-0.17]# make install
  7. [root@localhost iftop-0.17]# vi /etc/profile
  8. PATH=$PATH:/usr/local/iftop/sbin
    export PATH
  9. source /etc/profile #修改当即生效
  10. 输入 iftop 启动流量监控 .net

    进入iftop监控画面下操做命令:get

    p:切换是否显示端口信息class

    q:退出监控监控

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

相关文章
相关标签/搜索