[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re[2]: Bandwidth Monitor



* Alan Poulton (apoulton@telus.net) spake thusly:
> Wednesday, April 10, 2002, 10:24:58 AM, Shawn McMahon wrote:
> 
> >> And does it give Bytes transmitted/received, or just the sheer number
> >> of packets?
> 
> > Both.  Do an ifconfig now and look at the output.
> 
> Here's my output:
> 
> eth0      Link encap:Ethernet  HWaddr 00:E0:29:30:85:C0
>           inet addr:xxx.xxx.xx.x  Bcast:xxx.xxx.xx.xxx  Mask:255.255.240.0
>           UP BROADCAST NOTRAILERS RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:76207 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:64844 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:46 txqueuelen:100 
>           Interrupt:5 Base address:0x220 
> 
> Forgive me if I'm missing it, but I don't see the Bytes transmitted and
> received, only packets.


eth0      Link encap:Ethernet  HWaddr 00:C0:4F:1E:37:F2
          inet addr:144.92.167.222  Bcast:144.92.167.255  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3945661 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3100789 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2381557848 (2.2 GiB)  TX bytes:1591785785 (1.4 GiB)
	  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          Interrupt:11 Base address:0xdc00
> ifconfig --version
net-tools 1.60
ifconfig 1.42 (2001-04-13)

> Unfortunately, I'm not knowledgable in writing scripts just yet. I'm one
> of those people who needs to be able to install something, have it work,
> and be done with it.  But that's not to say I'm against learning how to
> write scripts - it's just beyond my scope at this point in time =]

Have a look at mrtg. You'll need to set up the snmp packages to get it 
to work, but it will do what you want (and make colour pictures, too! ;)

Dima (just make sure you aren't opening SNMP ports to the whole big Internet)
-- 
Surely there is a polite way to say FOAD.                        -- Shmuel Metz
"Go forth and multiply".                                         -- Paul Martin


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: