netr

Crates.ionetr
lib.rsnetr
version0.2.0
created_at2020-09-16 21:28:31.474948+00
updated_at2025-06-12 19:00:31.422383+00
descriptionDisplay 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.
homepagehttps://www.usenix.org.uk/content/net.html
repositoryhttps://gitlab.com/edneville/netrs
max_upload_size
id289529
size66,473
ed neville (edneville)

documentation

README

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.

Commit count: 26

cargo fmt