iperf测试网络带宽

权威参考:http://iperf.fr/


服务器端:

^Croot@SNDA-172-17-11-46:/data/wbq/iperf-2.0.2/src# ./iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------


客户端:

root@transerver:/home/wangbq/temp/test/iperf-2.0.2/src# ./iperf -c 118.244.225.248 -t 30 -i 2
------------------------------------------------------------
Client connecting to 118.244.225.248, TCP port 5001
TCP window size: 22.7 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.114 port 53823 connected with 118.244.225.248 port 5001
[  3]  0.0- 2.0 sec  1.21 MBytes  5.08 Mbits/sec
[  3]  2.0- 4.0 sec    600 KBytes  2.46 Mbits/sec
[  3]  4.0- 6.0 sec    608 KBytes  2.49 Mbits/sec
[  3]  6.0- 8.0 sec    600 KBytes  2.46 Mbits/sec
[  3]  8.0-10.0 sec    600 KBytes  2.46 Mbits/sec
[  3] 10.0-12.0 sec    608 KBytes  2.49 Mbits/sec
[  3] 12.0-14.0 sec    496 KBytes  2.03 Mbits/sec
[  3] 14.0-16.0 sec    504 KBytes  2.06 Mbits/sec
[  3] 16.0-18.0 sec    504 KBytes  2.06 Mbits/sec
[  3] 18.0-20.0 sec    704 KBytes  2.88 Mbits/sec
[  3] 20.0-22.0 sec    504 KBytes  2.06 Mbits/sec
[  3] 22.0-24.0 sec    600 KBytes  2.46 Mbits/sec
[  3] 24.0-26.0 sec    600 KBytes  2.46 Mbits/sec
[  3] 26.0-28.0 sec    600 KBytes  2.46 Mbits/sec
[  3] 28.0-30.0 sec    504 KBytes  2.06 Mbits/sec
[  3]  0.0-30.0 sec  9.06 MBytes  2.53 Mbits/sec


































[  4] local 172.17.11.46 port 5001 connected with 61.149.196.253 port 36987
[  4]  0.0-30.5 sec  8.98 MBytes  2.47 Mbits/sec
[  5] local 172.17.11.46 port 5001 connected with 61.149.196.253 port 37672
[  5]  0.0-30.5 sec  9.06 MBytes  2.50 Mbits/sec

你可能感兴趣的:(iperf,测试网络带宽)