commands.sh

iperf

all

Measure network bandwidth between computers.

More info →

Options (6)

-s, --serverboolean

Run on server

Example: iperf {{[-s|--server]}}
-u, --udpboolean

Run on server using UDP mode and set server port to listen on 5001

Example: iperf {{[-u|--udp]}} {{[-s|--server]}} {{[-p|--port]}} {{5001}}
-p, --portboolean

Run on server using UDP mode and set server port to listen on 5001

Example: iperf {{[-u|--udp]}} {{[-s|--server]}} {{[-p|--port]}} {{5001}}
-c, --clientboolean

Run on client

Example: iperf {{[-c|--client]}} {{server_address}}
-i, --intervalboolean

Run on client every 2 seconds

Example: iperf {{[-c|--client]}} {{server_address}} {{[-i|--interval]}} {{2}}
-P, --parallelboolean

Run on client with 5 parallel threads

Example: iperf {{[-c|--client]}} {{server_address}} {{[-P|--parallel]}} {{5}}

Examples (6)

Run on server

iperf [-s|--server]

Run on server using UDP mode and set server port to listen on 5001

iperf [-u|--udp] [-s|--server] [-p|--port] 5001

Run on client

iperf [-c|--client] server_address

Run on client every 2 seconds

iperf [-c|--client] server_address [-i|--interval] 2

Run on client with 5 parallel threads

iperf [-c|--client] server_address [-P|--parallel] 5

Run on client using UDP mode

iperf [-u|--udp] [-c|--client] server_address [-p|--port] 5001
made by @shridhargupta | data from tldr-pages