zoukankan      html  css  js  c++  java
  • iperf

    Summary

    • 测试网络直接的速度

    Demo

    [root@fss-rule ~]# iperf   -s -i 1 -f  m
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 0.08 MByte (default)
    ------------------------------------------------------------
    [  4] local 172.26.49.111 port 5001 connected with 172.26.49.112 port 34706
    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0- 1.0 sec   655 MBytes  5495 Mbits/sec
    [  4]  1.0- 2.0 sec   333 MBytes  2793 Mbits/sec
    [  4]  2.0- 3.0 sec   391 MBytes  3277 Mbits/sec
    [  4]  3.0- 4.0 sec   368 MBytes  3090 Mbits/sec
    
    [root@iZ8vb8rrw7wiwqwx22tcsrZ ~]# iperf -c 172.26.49.111 -i 1 -t 30 -f m
    ------------------------------------------------------------
    Client connecting to 172.26.49.111, TCP port 5001
    TCP window size: 0.59 MByte (default)
    ------------------------------------------------------------
    [  3] local 172.26.49.112 port 34706 connected with 172.26.49.111 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [  3]  0.0- 1.0 sec   658 MBytes  5518 Mbits/sec
    [  3]  1.0- 2.0 sec   333 MBytes  2797 Mbits/sec
    [  3]  2.0- 3.0 sec   391 MBytes  3279 Mbits/sec
    [  3]  3.0- 4.0 sec   368 MBytes  3091 Mbits/sec
    [  3]  4.0- 5.0 sec   327 MBytes  2740 Mbits/sec
    
  • 相关阅读:
    Java 原理性文章收录
    kafka connect userguide【confluence】
    curl 工具使用
    MySQL 数据类型
    Kafka Producer (0.10.0.0)原理
    Kafka Consumer 原理与实践
    java 泛型详解
    redis 高可用集群之水平扩展
    Redis 5.0.0 安装(集群)
    Apollo(阿波罗)架构深度剖析
  • 原文地址:https://www.cnblogs.com/duchaoqun/p/13385783.html
Copyright © 2011-2022 走看看