Measure network bandwidth between computers.
# To run on server:
iperf -s
# To run on server using UDP mode and set server port to listen on 5001:
iperf -u -s -p <5001>
# To run on client:
iperf -c <server_address>
# To run on client every 2 seconds:
iperf -c <server_address> -i <2>
# To run on client with 5 parallel threads:
iperf -c <server_address> -P <5>
# To run on client using UDP mode:
iperf -u -c <server_address> -p <5001>