[root@xf_www3 ~]# iperf -u -s这个命令会启动iperf,后续参数用来设定监听5001 端口.
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size: 124 KByte (default)
------------------------------------------------------------
C:\jperf\bin>iperf -u -c 113.31.1.33 -b 200M -i 1 -w 1M -t60
Client connecting to 113.31.1.33, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 1.00 MByte
------------------------------------------------------------
[1912] local 115.171.144.241 port 3656 connected with 113.31.1.33 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0- 1.0 sec 432 KBytes 3.54 Mbits/sec
[1912] 1.0- 2.0 sec 570 KBytes 4.67 Mbits/sec
[1912] 2.0- 3.0 sec 685 KBytes 5.61 Mbits/sec
[1912] 3.0- 4.0 sec 656 KBytes 5.37 Mbits/sec
[1912] 4.0- 5.0 sec 689 KBytes 5.64 Mbits/sec
[1912] 5.0- 6.0 sec 690 KBytes 5.66 Mbits/sec
[1912] 6.0- 7.0 sec 630 KBytes 5.16 Mbits/sec
[1912] 7.0- 8.0 sec 665 KBytes 5.44 Mbits/sec
[1912] 8.0- 9.0 sec 609 KBytes 4.99 Mbits/sec
[1912] 9.0-10.0 sec 669 KBytes 5.48 Mbits/sec
[1912] 10.0-11.0 sec 678 KBytes 5.55 Mbits/sec
[1912] 11.0-12.0 sec 632 KBytes 5.17 Mbits/sec
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17172228/viewspace-777243/ ,如需转载,请注明出处,否则将追究法律责任。