7 releases
| 0.2.0 | Jun 12, 2025 |
|---|---|
| 0.1.6 | Jul 8, 2021 |
| 0.1.5 | Jan 9, 2021 |
| 0.1.4 | Dec 28, 2020 |
| 0.1.1 | Sep 18, 2020 |
#1658 in Machine learning
324 downloads per month
22KB
499 lines
netrs
A simple console program to show network interface statistics.
Pull requests welcome.
install
$ git clone https://gitlab.com/edneville/netrs.git
$ cd netrs
$ cargo build --release
$ please install -o 0 -g 0 -m755 target/release/netr /usr/local/bin
$ cargo clean
usage
It works best in an 80x24 terminal.
You'll see something that looks a bit like this:
interface in out | in/sec | out/sec | in/min | out/min
docker0 0 0 | 0 | 0 | 0 | 0
eth0 765 MiB 678 MiB | 41 KiB | 591 KiB | 2 MiB | 29 MiB
lo 806 MiB 806 MiB | 0 | 0 | 0 | 0
total 1 GiB 1 GiB | 41 KiB | 591 KiB | 2 MiB | 29 MiB
###
### # #
#### # # # #
#### ## # ## # ## # ## ######## ##
######## ## ###### ## ###### # ## ########## #####
############ ####### ##### ######## ## ########## #######
############ ####### ############################# ########
###########################################################
###########################################################
netr will remain running until you quit using ctrl-c.
options
netr can restrict the interface names to report usage on by specifying a match regex in the include argument, or inversely, as the exclude argument.
Dependencies
~3–4.5MB
~72K SLoC