diff --git a/pages/common/netperf.md b/pages/common/netperf.md new file mode 100644 index 000000000..c061953bc --- /dev/null +++ b/pages/common/netperf.md @@ -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: . + +- 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}}` diff --git a/pages/common/netserver.md b/pages/common/netserver.md new file mode 100644 index 000000000..5c329142d --- /dev/null +++ b/pages/common/netserver.md @@ -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: . + +- 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}}`