ndevtop

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: MIT Imports: 15 Imported by: 0

README

ndevtop

ndevtop is a small tool to watch traffic on each network interfaces to determine what interface exchanges much traffic.

Now this only supports Linux environment.

Screenhost

Installation

Download a binary from Release page and put it somewhere you like.

If you'd like to build it by yourself, you can use go get:

go get github.com/tsukaeru/ndevtop

Usage

Just run

ndevtop

shows interfaces statistics.

ndevtop -h
Usage of ndevtop:
  -d interval
    	set data update interval in seconds (default 3

Interactive keys in the program are:

  • q: quit
  • d: set update interval. default is 3 seconds.
  • f: set device name filter.
  • j, down allow: move down by one row.
  • k, up allow: move up by one row.
  • g, home: move to the top.
  • G, end: move to the bottom.
  • Ctrl-F, page down: move down by one page.
  • Ctrl-B, page up: move up by one page.
  • r, R: sort table by RX bytes in ascendant/descendant order.
  • t, T: sort table by TX bytes in ascendant/descendant order.
  • i, I: sort table by RX packets in ascendant/descendant order.
  • o, O: sort table by TX packets in ascendant/descendant order.

In "update interval" and "device name filter" form,

  • return: set the inputted value.
  • escape: abort the input form.

License

ndevtop is under MIT license. Please see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL