[LARTC] tc + bandwidth measurement

Alaios alaios at yahoo.com
Tue Mar 29 14:25:59 CEST 2005


I want to implement a snmp-agent to measure the
bandwidth traffic per flow
in a linux router.
Is there any way to use tc in bash scripts in order to
measure the 
bandwidth?

In my first thought, the agent would fire repeatedly
tc commands that would
return the rate /flow. Is that speculation correct?

Do you propose an alternative way to measure the
bandwith through an agent.
I found somewhere that I can use netlink library to
access the kernel
but it seems confusing enough and I didn't find enough documentation.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the LARTC mailing list