zoukankan      html  css  js  c++  java
  • 使用iptraf,ifstat查看网络流量

      

    1. 使用 iptraf

    iptraf是一个实时查看网络流量的文本屏幕界面工具。

    有些系统不一定安装了,

    如果是 RHEL,那么就去找安装盘中的 iptraf*.rpm 包安装;

    如果是 CentOS,那么用 yum install -y iptraf 进行安装

    iptraf是一个文本全屏幕界面,操作起来比较简单明了。最好使用 putty 来看,SecureCRT可能显示乱码。

    它提供了很多统计方式:

    (1)IP traffic monitor

    (2)General interface statistics

    (3)Detailed interface statistics

    如果跟上 -B 参数,还可以后台执行,把数据保存到文件中,位于 /var/log/iptraf 目录。

  • 相关阅读:
    Redis其他命令
    Redis 键(key)
    Redis数据类型命令
    配置命令 CONFIG
    Redis简介
    idea破解
    jenkins+allure+testng
    Jenkins
    docker镜像
    docker命令
  • 原文地址:https://www.cnblogs.com/xiaozong/p/5304994.html
Copyright © 2011-2022 走看看