mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
664 B
Plaintext
30 lines
664 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# iperf3
|
|
|
|
> Traffic generator for testing network bandwidth.
|
|
> More information: <https://iperf.fr/iperf-doc.php>.
|
|
|
|
- Run iperf3 as a server:
|
|
|
|
`iperf3 {{[-s|--server]}}`
|
|
|
|
- Run an iperf3 server on a specific port:
|
|
|
|
`iperf3 {{[-s|--server]}} {{[-p|--port]}} {{port}}`
|
|
|
|
- Start bandwidth test:
|
|
|
|
`iperf3 {{[-c|--client]}} {{server}}`
|
|
|
|
- Run iperf3 in multiple parallel streams:
|
|
|
|
`iperf3 {{[-c|--client]}} {{server}} {{[-P|--parallel]}} {{streams}}`
|
|
|
|
- Reverse direction of the test. Server sends data to the client:
|
|
|
|
`iperf3 {{[-c|--client]}} {{server}} {{[-R|--reverse]}}`
|