Linux Command - iperf
The Linux iperf command is a tool used to test network performance.
Install like this on Debian / Ubuntu:
sudo apt install iperf
TCP testing
Start a server:
iperf -s
Start a client ( use your IP ):
- ctrl - c to stop
iperf -c 198.51.100.5
UDP Testing
Start a server:
iperf -s -u
Start a client ( use your IP ):
iperf -c 198.51.100.5 -u
UDP has a 1 Mbit limit in iperf by default. Override this to be above your bandwidth cap:
iperf -c 198.51.100.5 -u -b 1000m
There are a lot more options for this command .