Crates.io | netr |
lib.rs | netr |
version | 0.2.0 |
created_at | 2020-09-16 21:28:31.474948+00 |
updated_at | 2025-06-12 19:00:31.422383+00 |
description | Display network interface throughput by second and by minute along with a graph. This is quick and easy to use via a mobile handset or similar device where typing is cumbersome. |
homepage | https://www.usenix.org.uk/content/net.html |
repository | https://gitlab.com/edneville/netrs |
max_upload_size | |
id | 289529 |
size | 66,473 |
A simple console program to show network interface statistics.
Pull requests welcome.
$ 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
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.
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.