network device stat collecting

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Entelin
Päiväys:  
Aihe: network device stat collecting
What would be the best way to collect the RX packets and TX packets from
an interface? sparse ifconfig ? I want to use it to build a graph with
rrdtool. Also does BIND record the number of total querys somewhere?

Thanks