Server

Run the following command on the server machine:

  iperf -s -i 10

-s - Create a server that will listen on TCP 5001.

-i 10 - Print a speed report every 10 seconds.

Client

On the client run the following command:

  iperf -i 10 -c <SERVER>

-i - Print a speed report every 10 seconds.

-c - The server’s IP or hostname.