[[+content_image]]
A
A
Aspire892012-09-25 09:12:39
Network administration
Aspire89, 2012-09-25 09:12:39

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]

The question can be considered closed.

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
M
m08pvv, 2012-09-25
@Aspire89

Looking at the ttraff sources and for example , you can understand where, how and what to look for, but how to interpret it - you need to look when and how it starts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question