-
Notifications
You must be signed in to change notification settings - Fork 7
/
To-do.txt
45 lines (43 loc) · 2.67 KB
/
To-do.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Server or Client:
(OK) -p, --port # server port to listen on/connect to
(OK) -f, --format [kmgKMG] format to report: Kbits, Mbits, KBytes, MBytes
(OK) -i, --interval # seconds between periodic bandwidth reports
(OK) -F, --file name xmit/recv the specified file
(OK) -B, --bind <host> bind to a specific interface
(OK) -V, --verbose more detailed output
(OK) -J, --json output in JSON format
(OK) --logfile f send output to a log file
(OK) -d, --debug emit debugging output
(OK) -v, --version show version information and quit
(OK) -h, --help show this message and quit
Server specific:
-s, --server run in server mode
-D, --daemon run the server as a daemon
-I, --pidfile file write PID file
-1, --one-off handle one client connection then exit
Client specific:
(OK) -c, --client <host> run in client mode, connecting to <host>
(OK) -u, --udp 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)
(OK) -t, --time # time in seconds to transmit for (default 10 secs)
(OK) -n, --bytes #[KMG] number of bytes to transmit (instead of -t)
(OK) -k, --blockcount #[KMG] number of blocks (packets) to transmit (instead of -t or -n)
(OK) -l, --len #[KMG] length of buffer to read or write
(default 128 KB for TCP, 8 KB for UDP)
(OK) --cport <port> bind to a specific client port (TCP and UDP, default: ephemeral port)
(OK) -P, --parallel # number of parallel client streams to run
(OK) -R, --reverse run in reverse mode (server sends, client receives)
(OK) -w, --window #[KMG] set window size / socket buffer size
-M, --set-mss # set TCP/SCTP maximum segment size (MTU - 40 bytes)
(OK) -N, --no-delay set TCP/SCTP no delay, disabling Nagle's Algorithm
(OK) -4, --version4 only use IPv4
(OK) -6, --version6 only use IPv6
-S, --tos N set the IP 'type of service'
-Z, --zerocopy use a 'zero copy' method of sending data
-O, --omit N omit the first n seconds
(OK) -T, --title str prefix every output line with this string
(OK) --get-server-output get results from server
(OK) --udp-counters-64bit use 64-bit counters in UDP test packets
[KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-