Linux command
netserver 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start netserver
netserver
Specify port
netserver -p [12865]
Debug mode
netserver -D
Bind to address
netserver -L [192.168.1.10]
Set IPv4 mode
netserver -4
Set IPv6 mode
netserver -6
说明
netserver is the server for netperf testing. It receives network performance tests. The tool handles benchmark requests. Run on target machine for throughput tests.
参数
- -p _PORT_
- Listen port (default 12865).
- -D
- Do not daemonize; run in foreground (debug).
- -d
- Increase debug verbosity.
- -L _ADDR_
- Local bind address.
- -N
- No control connection; standalone data mode.
- -f
- Do not spawn on demand; remain in foreground.
- -v _LEVEL_
- Verbosity level.
- -4
- IPv4 only.
- -6
- IPv6 only.
- --help
- Display help information.
FAQ
What is the netserver command used for?
netserver is the server for netperf testing. It receives network performance tests. The tool handles benchmark requests. Run on target machine for throughput tests.
How do I run a basic netserver example?
Run `netserver` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _PORT_ do in netserver?
Listen port (default 12865).