Use of link bandwidth test tool iperf

Download and install iperf

https://iperf.fr/iperf-download.php to
download and install the corresponding version, without distinguishing between server and client;

run

udp mode test: (remove the -u parameter in tcp mode)
server execution:
iperf -p 8000 -s -i -u
monitors port 8000 and runs in server mode;

Client operation:
iperf -u -c 192.168.1.1 -p 8000 -i 1 -d -b 100M
Use port 8000 to connect to the server 192.168.1.1 in udp mode, specify a bandwidth of 100M, test the upstream and downstream bandwidth and output the test at 1s intervals result.

Reference article:
https://www.cnblogs.com/shuqingstudy/p/10767414.html

Guess you like

Origin blog.csdn.net/sun172270102/article/details/106489975