补充 -b 参数.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-12-24 16:20:23 +08:00
parent 443ee9a98a
commit 670272dcd5
1 changed files with 10 additions and 9 deletions

View File

@ -53,12 +53,13 @@ echo 21299200 > /proc/sys/net/core/rmem_max
## 基本参数说明
| Options | Description |
|-------------|--------------------------------------------------------------------|
| -i # | Server or Client: seconds between periodic bandwidth reports |
| -p # | Server or Client: server port to listen on/connect to |
| -s | Server specific: run in server mode |
| -c \<host\> | Client specific: run in client mode, connecting to \<host\> |
| -P # | Client specific: number of parallel client streams to run |
| -t # | Client specific: time in seconds to transmit for (default 10 secs) |
| -u | Client specific: use UDP rather than TCP |
| Options | Description |
|----------------------------|--------------------------------------------------------------------|
| -i # | Server or Client: seconds between periodic bandwidth reports |
| -p # | Server or Client: server port to listen on/connect to |
| -s | Server specific: run in server mode |
| -c \<host\> | Client specific: run in client mode, connecting to \<host\> |
| -P # | Client specific: number of parallel client streams to run |
| -t # | Client specific: time in seconds to transmit for (default 10 secs) |
| -u | Client specific: use UDP rather than TCP |
| -b, --bandwidth #[KMG][/#] | target bandwidth in bits/sec (0 for unlimited, default 1 Mbit/sec for UDP, unlimited for TCP, optional slash and packet count for burst mode) |