On 2005-05-22 00:56:19 +0200 (Sun, May), Joseph Drake wrote:
> Does anyone know any good traffic monitor? I want to how much data is 
> transported when my machine's up. I emerged traffic-vis, but I don't 
> know how it works. Thanks for any advice.

Maybe it is not what you want, but if all you need is amount of data
going thru the interface, then there is a 'simple' monitor in
/sbin/ifconfig output - see the RX bytes and TX bytes.
You may find /proc/net/dev file useful too (easier to parse for scripts).

[agent] [EMAIL PROTECTED] case $  /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:90:F5:25:A9:7E  
          inet addr:10.0.0.180  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3065 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1206 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:770572 (752.5 Kb)  TX bytes:118492 (115.7 Kb)
          Interrupt:11 Base address:0x4000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:83 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:60585 (59.1 Kb)  TX bytes:60585 (59.1 Kb)



--
 ... We are Dyslexics of Borg. Your ass will be laminated.

Attachment: pgp9FM5pWrHVa.pgp
Description: PGP signature

Reply via email to