Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


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

DIY usage meter?



On Wed, Mar 17, 2010 at 03:09:27PM -0400, R. Luoma wrote:
> Can one setup an linux-based router with multiple
> network ports so that it will record
> the flow of bytes through whatever interface
> one has to the internet?

Yes.

For example, ifconfig says:

...
          RX packets:85756479 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92269890 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4153158012 (3.8 GiB)  TX bytes:3166798470 (2.9 GiB)
...

Or you can hook up nice graphing systems like cacti, or you can
read info remotely via SNMP...

What is it that you want to do?

-dsr-



-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org