[ubuntu-uk] network monitor

Alan Pope alan at popey.com
Sat Feb 21 23:47:36 GMT 2009


2009/2/21 javadayaz <javadayaz at gmail.com>:
> im connected to a network...is there anyway i can monitor in real time the
> amount of traffic going through the router? like a little widget or
> something
>
> hope this makes sense :)
>

alan at hactar:/tmp$ apt-cache search iftop
iftop - displays bandwidth usage information on an network interface

Description: displays bandwidth usage information on an network interface
 iftop does for network usage what top(1) does for CPU usage. It listens to
 network traffic on a named interface and displays a table of current bandwidth
 usage by pairs of hosts. Handy for answering the question "Why is my Internet
 link so slow?".

And this is what it looks like - fixed font required:-

                1.91Mb          3.81Mb          5.72Mb          7.63Mb    9.54Mb
└───────────────┴───────────────┴───────────────┴───────────────┴───────────────
hactar.lan                 => 192.168.129.237            1.37Mb  1.52Mb  1.53Mb
                           <=                            34.9Kb  38.1Kb  38.1Kb
hactar.lan                 => ik-in-f18.google.com          0b   5.33Kb  4.61Kb
                           <=                               0b   16.2Kb  10.4Kb
hactar.lan                 => lou.popey.com               416b    707b    630b
                           <=                            1.28Kb  6.83Kb  4.83Kb
hactar.lan                 => registerlafonera.fon.com      0b      0b    216b
                           <=                               0b     84b    306b
hactar.lan                 => 224.0.0.251                   0b      0b    216b
                           <=                               0b      0b      0b








────────────────────────────────────────────────────────────────────────────────
TX:             cumm:  3.07MB   peak:   2.28Mb  rates:   1.37Mb  1.53Mb  1.54Mb
RX:                     107KB            124Kb           36.1Kb  61.2Kb  53.6Kb
TOTAL:                 3.18MB           2.40Mb           1.40Mb  1.59Mb  1.59Mb

Cheers,
Al.



More information about the ubuntu-uk mailing list