Thursday 15 March 2012

networking - Monitor ppp0 traffic usage with Linux -



networking - Monitor ppp0 traffic usage with Linux -

hey i'm developing 3g connected device raspberry pi. mobile provider allows me utilize 50 mb/month.

this device installed somewhere nobody can have physically access to. concern avoid info traffic overuse. need tool measure accumulated traffic going through (in , out) ppp0 interface in order disconnect interface until next month if 50mb limit reached.

i tried ifconfig since have disconnections counter rested @ each reconnection.

i tried ntop , iftop understood these tools measuring real-time traffic.

i'm looking kind of cumulative traffic use, can find on smartphones.

any idea?

take in iptraf :)

i'm not sure if go in plenty detail relatively lightweight, though may not wise go heavy on raspberry pi processor. seek looking around netflow or snmp based solutions, though think might overkill.

good luck!

linux networking raspberry-pi 3g

No comments:

Post a Comment