服务端
[root@prod-osbackup-nfs-server tmp]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 10.201.100.90 port 5001 connected with 10.201.100.81 port 49848
------------------------------------------------------------
Client connecting to 10.201.100.81, TCP port 5001
TCP window size: 306 KByte (default)
------------------------------------------------------------
[ 6] local 10.201.100.90 port 42054 connected with 10.201.100.81 port 5001
[ ID] Interval Transfer Bandwidth
[ 6] 0.0-10.0 sec 6.07 GBytes 5.21 Gbits/sec
[ 4] 0.0-10.0 sec 7.81 GBytes 6.70 Gbits/sec
客户端
[root@prod-zabbix-server01 ~]# iperf -c 10.201.100.90 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: -1.00 Byte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.201.100.90, TCP port 5001
TCP window size: 246 KByte (default)
------------------------------------------------------------
[ 5] local 10.201.100.81 port 49848 connected with 10.201.100.90 port 5001
[ 4] local 10.201.100.81 port 5001 connected with 10.201.100.90 port 42054
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 7.81 GBytes 6.71 Gbits/sec
[ 4] 0.0-10.0 sec 6.07 GBytes 5.21 Gbits/sec
[root@prod-zabbix-server01 ~]#