On Thu, Apr 21, 2011 at 3:44 PM, Matthew Burgess
<[email protected]> wrote:
> On Thu, 21 Apr 2011 14:43:07 -0700, Nathan Coulson <[email protected]> wrote:
>> Lately, I have been noticing that there seems to be a lot of traffic
>> on my network, and I wanted to pinpoint the source.
>>
>> is there any packages that can break down how much up/down traffic is
>> being used per mac address? (Running on a WRT54G Linksys Router, w/
>> 4MB flash storage)
>
> # /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr 08:00:27:CF:DA:40
>          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:123 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:58605 (57.2 KiB)  TX bytes:13766 (13.4 KiB)
>
> 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:1918 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1918 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:3471816 (3.3 MiB)  TX bytes:3471816 (3.3 MiB)
>
> Note the last line of output which summarizes the RX (down) and
> TX (up) traffic.  I'm not sure when each of those gets reset,
> but probably on a reboot.
>
> ifconfig comes from the net-tools package.
>
> Regards,
>
> Matt.

not bad, but was hoping to monitor multiple IP's on my router.  all I
have is the total, not sure from where...


-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to