netr a simple network interface watch
net
interface in out | in/sec | out/sec | in/min | out/min
docker0 0 0 | 0 | 0 | 0 | 0
eth0 3 GiB 2 GiB | 4 KiB | 55 KiB | 7 MiB | 515 KiB
lo 830 MiB 830 MiB | 0 | 0 | 39 KiB | 39 KiB
total 4 GiB 2 GiB | 4 KiB | 55 KiB | 7 MiB | 555 KiB
Display the network stats, by second and by minute.
Repo is at gitlab, pull requests welcome.
history
This developed from an earlier C version somewhere in the 2000's that did mostly the same. A graph was desired and the Rust version came about.
install
git clone 'https://gitlab.com/edneville/netrs.git'
cd netrs && cargo build --release
please cp target/release/netr /usr/local/bin
Note that please is used to do the root work.