zoukankan      html  css  js  c++  java
  • 实时监控网卡流量的命令

    1、sar -n DEV 2 0

    sar命令详解:
    -n { DEV | EDEV | NFS | NFSD | SOCK | ALL }
                  Report network statistics.

                  With the DEV keyword, statistics from the network devices are reported.  The
                  following values are displayed:

                  IFACE
                         Name of the network interface for which statistics are reported.

                  rxpck/s
                         Total number of packets received per second.

                  txpck/s
                         Total number of packets transmitted per second.

                  rxbyt/s
                         Total number of bytes received per second.

                  txbyt/s
                         Total number of bytes transmitted per second.

                  rxcmp/s
                         Number of compressed packets received per second (for cslip etc.).

                  txcmp/s
                         Number of compressed packets transmitted per second.

                  rxmcst/s
                         Number of multicast packets received per second.

     

    2、watch ifconfig 网卡

  • 相关阅读:
    手脱ASPack2.12壳(练习)
    手脱UPX3.91壳(练习)
    如何在程序执行前插入可执行代码(算是吾爱的作业吧,活学活用)
    小米笔记本粉丝感恩狂欢趴【慎入!!】
    picpick截屏软件脱壳
    JAVA反序列化漏洞
    Java中的数据类型
    Java中常见的包
    Scrapy
    PHPstorm 函数时间注释的修改
  • 原文地址:https://www.cnblogs.com/osroot/p/1662716.html
Copyright © 2011-2022 走看看