iPerf is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, protocols, and buffers. For each test it reports the bandwidth, loss, and other parameters.
# Run a test in client mode, connecting to an iPerf server running on host (c),
# with report made every other second of the bandwidth (i),
# repeatedly sent an array of bytes for 20 seconds (t),
# and with a 32m TCP buffer (w).
docker run --rm \
-v `pwd`:/root/results \
ljishen/iperf3 \
/root/results/output.prof \
--client iperf.he.net \
--interval 1 \
--time 20 \
--window 32m
# Run as a server and bind the incoming interface as the ip of eth0
docker run --rm \
-v `pwd`:/root/results \
--network=host
ljishen/iperf3 \
/root/results/status.log \
--server \
--bind "$(ifconfig eth0 | grep -oP 'inet addr:\K\S+')"
# Show a help synopsis and quit.
docker run --rm \
-v `pwd`:/root/results \
ljishen/iperf3 \
--help
See Homepage, user documentation and Git repository of iperf3 for more details.
Content type
Image
Digest
Size
181.8 MB
Last updated
over 8 years ago
docker pull ljishen/iperf3