Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


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

DIY usage meter?



On 03/17/2010 03:09 PM, 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?

"usage meter" and "record the flow of bytes" mean different things to me, so
I'm not sure exactly what you're asking for.

I like 'iptraf' as a simple command-line based monitoring (runs locally on the
machine in question).  It allows you to view aggregate stats for each
interface (see: General Interface statistics), view per-protocol stats for a
specific interface (see: Detailed Interface statisics), monitor individual TCP
connections, etc.

If you want pretty graphs and multi week histories, use mrtg+apache (will
allow you to montior other machines as well via SNMP).

Matt






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