Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Is there a linux terminal command that lets you see the amount of data coming in to your tcp connections in real time?

I want to able to display realtime (or near realtime) network utilization without third part tools in Linux, e.g.

102KB on interface eth0

is it possible?

share|improve this question

marked as duplicate by Tom O'Connor, Iain Nov 18 '12 at 12:40

This question was marked as an exact duplicate of an existing question.

What do you mean by "third party tools" exactly? – David Schwartz Nov 18 '12 at 8:33
up vote 0 down vote accepted

On Ubuntu it is shown in ifconfig, where RX: Received, TX: Transmitted

ifconfig eth0

eth0  Link encap:Ethernet  HWaddr 00:21:23:e3:50:0c  
      inet addr:  Bcast:  Mask:
      RX packets:4074454586 errors:0 dropped:0 overruns:0 frame:1
      TX packets:2709815673 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:2484134569 (2.4 GB)  TX bytes:978423284 (978.4 MB)
      Interrupt:41 Base address:0x7c00

To get just the usage, use grep:

ifconfig eth0 | grep 'RX bytes'

RX bytes:2484134569 (2.4 GB)  TX bytes:978423284 (978.4 MB)

To continuously monitor, use watch:

watch "ifconfig eth0 | grep 'RX bytes'"

share|improve this answer

There's iftop and iptraf to name but two.

"iftop does for network usage what top(1) does for CPU usage" --

share|improve this answer

According to your Description, you want vnstat.

Question has also been answered here

share|improve this answer

There is also ifstat if all you want is total throughput.

share|improve this answer

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