1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:46:00 +02:00

iperf: update page (#3960)

This commit is contained in:
Ein Verne 2020-04-07 18:16:19 +08:00 committed by GitHub
parent 998e0f5f4f
commit 5409614fb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,22 @@
`iperf -s`
- Run on server using UDP mode and set server port to listen on 5001:
`iperf -u -s -p {{5001}}`
- Run on client:
`iperf -c {{server_address}}`
- Run on client every 2 seconds:
`iperf -c {{server_address}} -i {{2}}`
- Run on client with 5 parallel threads:
`iperf -c {{server_address}} -P {{5}}`
- Run on client using UDP mode:
`iperf -u -c {{server_address}} -p {{5001}}`