sar -n DEV 1 10
-n { keyword [,...] | ALL }
Report network statistics. 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. rxkB/s
Total number of kilobytes received per second. txkB/s
Total number of kilobytes 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. [oracle@dwhtest ~]$ sar -n DEV 1 10
Linux 2.6.32-220.el6.x86_64 (dwhtest) 05/21/2014 _x86_64_ (24 CPU) 03:41:25 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:41:26 PM lo 3.96 3.96 0.23 0.23 0.00 0.00 0.00
03:41:26 PM em1 2.97 1.98 0.31 0.27 0.00 0.00 0.00
03:41:26 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:26 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:41:27 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:41:27 PM em1 1.04 1.04 0.07 0.49 0.00 0.00 0.00
03:41:27 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:27 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:41:28 PM lo 5.88 5.88 0.28 0.28 0.00 0.00 0.00
03:41:28 PM em1 1.96 1.96 0.23 0.52 0.00 0.00 0.00
03:41:28 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:28 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:41:29 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:41:29 PM em1 2.00 1.00 0.16 0.47 0.00 0.00 0.00
03:41:29 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:41:29 PM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s
03:41:30 PM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00
03:41:30 PM em1 1.98 0.99 0.15 0.46 0.00 0.00 0.00
03:41:30 PM em2 0.00 0.00 0.00 0.00 0.00 0.00 0.00

linux sar查看网络流量的更多相关文章

  1. Linux动态查看网络流量iptraf

    iptraf工具可以动态查看网络流量 yum install iptraf 查看所有网卡流量 iptraf -g

  2. linux 查看网络流量命令

    转: linux 查看网络流量命令 2019年01月31日 14:22:00 weixin_33894992 阅读数 893   sar命令参数很多,有时间man一下. -n参数很有用,他有6个不同的 ...

  3. Linux 中查看网口流量的利器 -- sar

    Linux 中查看网口流量的利器 -- sar   有这么一个小工具,通过它能够查看各个网口的IP报文流量统计. 利用sar命令,加上-n DEV参数,即可统计出所有网卡上的流量,在显示的第五和第六列 ...

  4. 使用iptraf,ifstat查看网络流量

    1. 使用 iptraf iptraf是一个实时查看网络流量的文本屏幕界面工具. 有些系统不一定安装了, 如果是 RHEL,那么就去找安装盘中的 iptraf*.rpm 包安装: 如果是 CentOS ...

  5. centos 装iptraf查看网络流量

    今天在测试服务器上准备看下网络流量 [root@localhost ~]# iptraf -d eth0-bash: iptraf: command not found 发现运维同事没有给安装 只能自 ...

  6. Linux基础——sar 查看网卡流量

    sar -n DEV #查看当天从零点到当前时间的网卡流量信息 sar -n DEV 1 10 #每秒显示一次,共显示10次 sar -n DEV -f /var/log/sa/saxx #查看xx日 ...

  7. ifstat查看网络流量的原理

    ifstat查看网卡流量的原理:读的是哪个/proc/ 接口啊 同diskIO一样,网络的IO也同样有统计计数的,是/proc/net/dev一个典型的输出就是这个样子的: root@station6 ...

  8. Linux sar分析网卡流量

    yum install sysstat    sar -n { DEV | EDEV | NFS | NFSD | SOCK | ALL }    sar 提供六种不同的语法选项来显示网络信息.-n选 ...

  9. netstat 在windows下和Linux下查看网络连接和端口占用

    假设忽然起个服务,告诉我8080端口被占用了,OK,我要去看一下是什么服务正在占用着,能不能杀 先假设我是在Windows下: 第一列: Proto 协议 第二列: 本地地址[ip+端口] 第三列:远 ...

随机推荐

  1. USACO6.4-Wisconsin Squares:搜索

    Wisconsin Squares It's spring in Wisconsin and time to move the yearling calves to the yearling past ...

  2. Java设计模式之简单工厂、工厂方法和抽象工厂

    在前面的学习中(参见前面的博客),我们学到了很多OO原则: 封装变化 多用组合,少用继承 针对接口/超类编程,不针对实现编程 松耦合 开闭原则 让我们从一个简单的类开始,看看如何将之改造成符合OO原则 ...

  3. WINDOWS OPTIMIZE

    WIN10 SHUT DOWN AUTOMATICALLY UPDATE 1.service -> windows update 2.gpedit ->计算机配置 - 管理模板 - Win ...

  4. lesson3.1:java公平锁和非公平锁及读写锁

    关于这四种锁的各自情况,网上有很多文章做了介绍,本不想单独开章节介绍,本章只介绍这四种锁的一些源码特点及注意事项. demo 源码:https://github.com/mantuliu/javaAd ...

  5. sql server 2008 在安装了活动目录以后无法启动服务了

    软件环境: windows server 2008 r2 ms sql server 2008 r2 在安装活动目录以前,数据库是正常运行的. 安装了活动目录以后,数据库启动时就提示无法启动.出错的信 ...

  6. 整型数组处理算法(八)插入(+、-、空格)完成的等式:1 2 3 4 5 6 7 8 9=N[华为面试题]

    有一个未完成的等式:1 2 3 4 5 6 7 8 9=N 当给出整数N的具体值后,请你在2,3,4,5,6,7,8,9这8个数字的每一个前面,或插入运算符号“+”,或插入一个运算符号“-”,或不插入 ...

  7. [C/C++标准库]_[0基础]_[交集和补集]

    场景: 1. 计算std::vector A和 std::vector B里的同样的元素, 用于保留不删除. 2. 计算std::vector A和 std::vector B里各自的补集, 用于删除 ...

  8. mysql中DES加密解密

      DES_DECRYPT(crypt_str[,key_str]) 使用DES_ENCRYPT()加密一个字符串.若出现错误,这个函数会返回 NULL. 注意,这个函数只有当MySQL在SSL 的支 ...

  9. Asp.Net WebApi+Microsoft.AspNet.WebApi.Core 启用CORS跨域访问

    WebApi中启用CORS跨域访问 1.安装 Nugget包Microsoft.AspNet.WebApi.Cors This package contains the components to e ...

  10. avalon

    http://avalonjs.coding.me/ 有时间详细写