服务端

    1. [root@prod-osbackup-nfs-server tmp]# iperf -s
    2. ------------------------------------------------------------
    3. Server listening on TCP port 5001
    4. TCP window size: 85.3 KByte (default)
    5. ------------------------------------------------------------
    6. [ 4] local 10.201.100.90 port 5001 connected with 10.201.100.81 port 49848
    7. ------------------------------------------------------------
    8. Client connecting to 10.201.100.81, TCP port 5001
    9. TCP window size: 306 KByte (default)
    10. ------------------------------------------------------------
    11. [ 6] local 10.201.100.90 port 42054 connected with 10.201.100.81 port 5001
    12. [ ID] Interval Transfer Bandwidth
    13. [ 6] 0.0-10.0 sec 6.07 GBytes 5.21 Gbits/sec
    14. [ 4] 0.0-10.0 sec 7.81 GBytes 6.70 Gbits/sec

    客户端

    1. [root@prod-zabbix-server01 ~]# iperf -c 10.201.100.90 -d
    2. ------------------------------------------------------------
    3. Server listening on TCP port 5001
    4. TCP window size: -1.00 Byte (default)
    5. ------------------------------------------------------------
    6. ------------------------------------------------------------
    7. Client connecting to 10.201.100.90, TCP port 5001
    8. TCP window size: 246 KByte (default)
    9. ------------------------------------------------------------
    10. [ 5] local 10.201.100.81 port 49848 connected with 10.201.100.90 port 5001
    11. [ 4] local 10.201.100.81 port 5001 connected with 10.201.100.90 port 42054
    12. [ ID] Interval Transfer Bandwidth
    13. [ 5] 0.0-10.0 sec 7.81 GBytes 6.71 Gbits/sec
    14. [ 4] 0.0-10.0 sec 6.07 GBytes 5.21 Gbits/sec
    15. [root@prod-zabbix-server01 ~]#