45

It would be something similar to top, where you see your cpu processes in real time. I'm not looking for a GUI like Wireshark to do it.

kernelpanic
  • 1,246
  • 1
  • 10
  • 30
user342580
  • 561
  • 4
  • 5

5 Answers5

54

iftop is cool and lightweight.

iftop_ui

ntop is even cooler but web-based and uses a daemon.

petrus
  • 5,287
  • 25
  • 42
21

IPTraf is another common real-time bandwidth monitor on Linux IPTraf-ng is a updated fork of IPTraf with ipv6 support

enter image description here

R. S.
  • 1,624
  • 12
  • 19
kernelpanic
  • 1,246
  • 1
  • 10
  • 30
10

nethogs, in case you need traffic analys per application - darkstat also works (web frontend)

mojo
  • 229
  • 1
  • 2
  • 11
8

Those give all detailed info in a ui-style. If you are looking for a much simplier one use:

vnstat -l

You'll get something like (realtime updates):

[user@host ~]$ vnstat -l

Monitoring em1...    (press CTRL-C to stop)

   rx:        4 kbit/s     5 p/s          tx:        4 kbit/s     3 p/s

The same command can be used to get daily/monthly/etc traffic reports.

7

Two small utilities that do this are tcptrack and jnettop

tcptrack

jnettop

dlu
  • 111
  • 3