Files
cheatsheet-tldr/tldr/netserver
2025-12-01 00:25:28 +00:00

27 lines
548 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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>.
- 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}}`