From f590e064b0934b6fe93d4e733952ef09816e4779 Mon Sep 17 00:00:00 2001 From: Jay Thomas Date: Wed, 17 Jan 2024 04:47:33 -0500 Subject: [PATCH] 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 commas --- pages/common/netperf.md | 21 +++++++++++++++++++++ pages/common/netserver.md | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 pages/common/netperf.md create mode 100644 pages/common/netserver.md 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}}`