Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

5 Answers

up vote 50 down vote accepted

iftop is cool and lightweight.

iftop_ui

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

share|improve this answer
add comment

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

share|improve this answer
    
Unfortunately, last I checked, iptraf doesn't support display of IPv6 connections. –  Jeremy Visser Nov 4 '12 at 21:22
add comment

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

share|improve this answer
add comment

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.

share|improve this answer
add comment

Two small utilities that do this are tcptrack and jnettop

tcptrack

jnettop

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.