bwmon flash frequency

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

dnd
Posts: 9
Joined: Sun Nov 13, 2011 5:01 am

bwmon flash frequency

Postby dnd » Mon Dec 05, 2011 4:05 pm

is there a way to configure how often the bandwidth monitor writes to the flash?

dnd
Posts: 9
Joined: Sun Nov 13, 2011 5:01 am

Re: bwmon flash frequency

Postby dnd » Fri Dec 09, 2011 4:17 am

if anyone is interested, i found it in /etc/init.d/bwmon_gargoyle. the write interval is controlled by this line:

echo "0 0,4,8,12,16,20 * * * $backup_script" >> "$tmp_cron"

ispyisail
Moderator
Posts: 4632
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: bwmon flash frequency

Postby ispyisail » Fri Dec 09, 2011 4:41 am


batagy
Posts: 8
Joined: Tue Dec 31, 2013 11:07 am

Re: bwmon flash frequency

Postby batagy » Thu Apr 03, 2014 4:46 pm

Hi!

If we want to increase the internal flash lifetime, how much time could be the recommended write interval? The default is 4 hour. Does it any improve it to let's say 24 hour at all?

But I guess then the ramdisk could get fill if it's not written in adequate time, isn't it? On other hand the amount of written data maybe doesn't change, because if rarer writes, then it's bigger file size needs be written.

Can be the write disabled at all? For example if someone doesn't need the bandwidth to see earlier then what it's in ramdisk.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests