Update README.md
This commit is contained in:
parent
8d57661025
commit
92c569ce3c
28
README.md
28
README.md
|
@ -8,3 +8,31 @@ It simply reads from `/proc/net/dev` to obtain byte-counts of the specified
|
|||
network interface and writes to four files, two of which keep track of the total
|
||||
byte count for sending and receiving, and the other two contain the "diffs" for
|
||||
each (configurable) interval (by default 5 seconds).
|
||||
rust_network_status_rate 0.1.0
|
||||
|
||||
USAGE:
|
||||
rust_network_status_rate [FLAGS] [OPTIONS] <net-dev>
|
||||
|
||||
FLAGS:
|
||||
-s, --disable-scaling Disables byte scaling into interval files
|
||||
-e, --enable-alt-prefix Enable use of alternate prefix instead of XDG_RUNTIME_DIR
|
||||
-h, --help Prints help information
|
||||
-V, --version Prints version information
|
||||
|
||||
OPTIONS:
|
||||
-p, --prefix <alternate-prefix-dir> Prefix to use instead of XDG_RUNTIME_DIR if enabled [default: /tmp]
|
||||
-r, --recv-interval <recv-interval-filename>
|
||||
Filename of interval bytes recieved (in prefix dir) [default: rust_recv_interval]
|
||||
|
||||
-d, --recv-total <recv-total-filename>
|
||||
Filename of total bytes received (in prefix dir) [default: rust_recv_total]
|
||||
|
||||
-s, --send-interval <send-interval-filename>
|
||||
Filename of interval bytes sent (in prefix dir) [default: rust_send_interval]
|
||||
|
||||
-u, --send-total <send-total-filename>
|
||||
Filename of total bytes sent (in prefix dir) [default: rust_send_total]
|
||||
|
||||
|
||||
ARGS:
|
||||
<net-dev>
|
||||
|
|
Loading…
Reference in a new issue