Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#497 closed (worksforme)

Total traffic only, no graph

Reported by: soulstace Owned by: somebody
Keywords: Cc:

Description

Eko,

In build svn 9235, it was possible to view Total Traffic while still having ttraff daemon disabled.

Can you somehow add this feature back? Or does it still require ttraff daemon running to function?

From my understanding, you just take /proc/net/dev vlan1 and divide it by 1024 twice. This type of info should not require extra process running all the time, correct?

You could maybe separate option into Total Traffic with Graph, or without Graph..

Just a thought for extra feature.

Thanks for reading,

~ss

Change History (10)

comment:1 Changed 5 years ago by Eko

  • Resolution set to wontfix
  • Status changed from new to closed

No, it still needs ttraff daemon to keep track of wraps at 4GB. Otherwise it will go up to 4GB and then starts from 0 again (32 bit counters problem)

comment:2 Changed 5 years ago by soulstace

OK. Makes perfect sense. Thanks

comment:3 Changed 5 years ago by Mix

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Doesn't make perfect sense. Why don't you use iptables for bandwith monitoring?

comment:4 Changed 5 years ago by soulstace

What difference does it make?

comment:5 Changed 5 years ago by soulstace

Well, you do have a point. I see that lan2wan does not loop at 4GB.

root@DD-WRT:~# iptables -L -nv |grep lan2wan
9959K 8144M lan2wan    0    --  *      *       0.0.0.0/0            0.0.0.0/0   

comment:6 Changed 5 years ago by Mix

What I suggest is nothing new... and of course can be configured for devices, ips, etc. Here are some examples...

http://www.linux.com/articles/50649

comment:7 Changed 5 years ago by soulstace

who said it was new?

comment:8 Changed 5 years ago by Mix

No one, and that is why it should be taken advantage of in dd-wrt.

comment:9 Changed 4 years ago by soulstace

  • Resolution set to worksforme
  • Status changed from reopened to closed

comment:10 Changed 3 years ago by anonymous

  • milestone v24 final deleted

Milestone v24 final deleted

Note: See TracTickets for help on using tickets.