mirror of https://github.com/CrimsonTome/tldr.git
net{perf,server}: add page (#12075)
* netperf: add pages * move pages to common; adjust syntax * use placeholder syntax for port numbers * Add mnemonics and manned.org link per style guide * missing period * Add commaspull/23/head
parent
04a46080de
commit
f590e064b0
|
@ -0,0 +1,21 @@
|
|||
# netperf
|
||||
|
||||
> Client-side command for `netperf`, the benchmarking application that measures network throughput. Similar to `iperf`.
|
||||
> See also: `netserver`, for the server-side command.
|
||||
> More information: <https://hewlettpackard.github.io/netperf/doc/netperf.html#Global-Command_002dline-Options>.
|
||||
|
||||
- Connect to server on a specific IP address via default port (12865):
|
||||
|
||||
`netperf {{address}}`
|
||||
|
||||
- Specify [p]ort:
|
||||
|
||||
`netperf {{address}} -p {{port}}`
|
||||
|
||||
- Specify the sampling [l]ength in seconds (default is 10):
|
||||
|
||||
`netperf {{address}} -l {{seconds}}`
|
||||
|
||||
- Force IPv[4] or IPv[6]:
|
||||
|
||||
`netperf {{address}} -{{4|6}}`
|
|
@ -0,0 +1,21 @@
|
|||
# netserver
|
||||
|
||||
> Server-side command for `netperf`, the benchmarking application that measures network throughput.
|
||||
> See also: `netperf`, for the client-side command.
|
||||
> More information: <https://manned.org/netserver.1>.
|
||||
|
||||
- Start a server on the default port (12865) and fork to background:
|
||||
|
||||
`netserver`
|
||||
|
||||
- Start server in foreground and do not fork:
|
||||
|
||||
`netserver -D`
|
||||
|
||||
- Specify [p]ort:
|
||||
|
||||
`netserver -p {{port}}`
|
||||
|
||||
- Force IPv[4] or IPv[6]:
|
||||
|
||||
`netserver -{{4|6}}`
|
Loading…
Reference in New Issue