mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 14:54:44 +00:00
Update cheatsheets
This commit is contained in:
33
iperf
Normal file
33
iperf
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# iperf
|
||||
|
||||
> Measure network bandwidth between computers.
|
||||
> More information: <https://iperf.fr>.
|
||||
|
||||
- Run on server:
|
||||
|
||||
`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}}`
|
||||
Reference in New Issue
Block a user