1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/iperf.md

29 lines
682 B
Markdown
Raw Normal View History

2018-04-10 04:49:40 -05:00
# iperf
> Measure network bandwidth between computers.
2019-06-05 09:05:50 +01:00
> More information: <https://iperf.fr>.
2018-04-10 04:49:40 -05:00
- Run on server:
`iperf {{[-s|--server]}}`
2018-04-10 04:49:40 -05:00
2020-04-07 18:16:19 +08:00
- Run on server using UDP mode and set server port to listen on 5001:
`iperf {{[-u|--udp]}} {{[-s|--server]}} {{[-p|--port]}} {{5001}}`
2020-04-07 18:16:19 +08:00
2018-04-10 04:49:40 -05:00
- Run on client:
`iperf {{[-c|--client]}} {{server_address}}`
2018-04-10 04:49:40 -05:00
2020-04-07 18:16:19 +08:00
- Run on client every 2 seconds:
`iperf {{[-c|--client]}} {{server_address}} {{[-i|--interval]}} {{2}}`
2020-04-07 18:16:19 +08:00
2018-04-10 04:49:40 -05:00
- Run on client with 5 parallel threads:
`iperf {{[-c|--client]}} {{server_address}} {{[-P|--parallel]}} {{5}}`
2020-04-07 18:16:19 +08:00
- Run on client using UDP mode:
`iperf {{[-u|--udp]}} {{[-c|--client]}} {{server_address}} {{[-p|--port]}} {{5001}}`