On this page you find all important commands for the CLI tool iperf. If the
command you are looking for is missing please ask our AI.
iperf
Iperf is a command-line tool used to measure network performance by creating a TCP or UDP data stream between two endpoints.
- Developed by the Internet2 project in 2003, Iperf has become a widely used tool in networking for troubleshooting, benchmarking, and assessing network performance.
- It is available for several platforms, including Windows, macOS, Linux, and Android.
- Iperf can measure various aspects of network performance, including TCP and UDP bandwidth, packet loss, and jitter.
- The tool works by establishing a client-server connection, where the client sends data to the server, and both ends measure and report the performance metrics.
- Iperf allows you to specify various parameters such as the data transfer rate, buffer size, duration of the test, and the IP version to use.
- It can perform both single-threaded and multi-threaded tests, which allows for simulating various real-world scenarios.
- Iperf provides detailed output and performance metrics, including throughput, loss percentage, round-trip time (RTT), and error statistics.
- The tool supports the option to test in either the sender or receiver mode, depending on which end you want to measure the performance.
- An enhanced version of Iperf called "iperf3" was released in 2014, offering additional features and improvements over the original version.
- Iperf's user-friendly command-line interface and ability to generate comprehensive performance reports make it a valuable tool for network administrators, engineers, and anyone interested in assessing their network's capabilities.
List of commands for iperf:
-
iperf:tldr:8aea4 iperf: Run on server using UDP mode and set server port to listen on 5001.$ iperf -u -s -p ${5001}try on your machineexplain this command
-
iperf:tldr:94882 iperf: Run on client with 5 parallel threads.$ iperf -c ${server_address} -P ${5}try on your machineexplain this command
-
iperf:tldr:97a8c iperf: Run on client using UDP mode.$ iperf -u -c ${server_address} -p ${5001}try on your machineexplain this command
-
iperf:tldr:b0062 iperf: Run on client.$ iperf -c ${server_address}try on your machineexplain this command
-
iperf:tldr:dc60d iperf: Run on client every 2 seconds.$ iperf -c ${server_address} -i ${2}try on your machineexplain this command