Answer the question
In order to leave comments, you need to log in
[[+content_image]]
ttraff and DD-WRT
There is a router with DD-WRT, on it the ttraff daemon. How to get today's total traffic using bash, python, ...?
UPD: Thanks to habrouser m08pvv for help.
[[email protected] root]$ nvram show | grep traf
ttraff_enable=1
size: 22215 bytes (10553 left)
traff-09-2012=0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 678:402 9921:1162 2125:111 634:52 1051:153 6387:509 7430:520 0:0 0:0 0:0 0:0 0:0 [28226:2909]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question