Asad Ali
Very Senior Member
Almost feature complete now...
Hey is this "Cable Modem Stats" script public? Can we get a sneak peak....
Almost feature complete now...
It is, search for modmonHey is this "Cable Modem Stats" script public? Can we get a sneak peak....
Good stuff!24 hours in of testing and it seems damned good on my end. Haven't come across any issues so far
Check for browser console errors, but also check the contents of the "time" htm/csv files in /opt/share/uiDivStats.d/csv@Jack Yaz Any idea why the chart isn't displaying info. Pie chart shows info though.
View attachment 23812
Ah, might not have waited long enough. Strangely though all the scripts which had graphs didn't show/update unless I force a manual update. That's what lead to the reboot and apparently I hadn't waited long enough for it to auto update the stats. Still odd though.Check for browser console errors, but also check the contents of the "time" htm/csv files in /opt/share/uiDivStats.d/csv
As the db grows the standard refreshes do take marginally longer, but if I've coded it correctly you shouldn't end up in a state without data while the refresh is in progress.Ah, might not have waited long enough. Strangely though all the scripts which had graphs didn't show/update unless I force a manual update. That's what lead to the reboot and apparently I hadn't waited long enough for it to auto update the stats. Still odd though.
Computers...
Welp, actually there's a bug...Ah, might not have waited long enough. Strangely though all the scripts which had graphs didn't show/update unless I force a manual update. That's what lead to the reboot and apparently I hadn't waited long enough for it to auto update the stats. Still odd though.
Computers...
@Jack Yaz Any idea why the chart isn't displaying info. Pie chart shows info though.
View attachment 23812
Mine's taking half an hour so far. I'll let it run to see if it exits cleanly.Any testers of uiDivStats 2.0 please note if you upgrade there is an intended delay after the updated while the database re-creates some indexes. Depending on your database size, this may be very slow. PM me if you run into any issues.
Subsequent updates and launches of uiDivStats should return to normal
Hm, there's a chance that it gets stuck for reasons unknown. I suspect that I asked too much of sqlite in one go without explicitly declaring a transaction. (I'll split the commands up in my next commit to deal with one index at a time)Mine's taking half an hour so far. I'll let it run to see if it exits cleanly.
All four cores are busy, I'll let it heat up the office for the time being.Hm, there's a chance that it gets stuck for reasons unknown. I suspect that I asked too much of sqlite in one go without explicitly declaring a transaction. (I'll split the commands up in my next commit to deal with one index at a time)
If you need me to, I'll PM you the commands to manually drop and create the new indexes, otherwise the recent commits show them .
Hm, there's a chance that it gets stuck for reasons unknown. I suspect that I asked too much of sqlite in one go without explicitly declaring a transaction. (I'll split the commands up in my next commit to deal with one index at a time)
If you need me to, I'll PM you the commands to manually drop and create the new indexes, otherwise the recent commits show them .
Ok it's obviously got stuckStill busy:
touch /jffs/addons/uiDivStats.d/.upgraded2
rm /jffs/addons/uiDivStats.d/.upgraded2
You may have been struck by the same bug/issue - follow the steps in https://www.snbforums.com/threads/u...iversion-statistics.56393/page-31#post-589694 pleaseI'm having issues even getting into uiDivStats from the amtm menu now. Any ideas of where to go from here?
No luck, still sitting there, barely idling.Ok it's obviously got stuck
Ctrl-C out of it, then run
This will let you open up uiDivStats without it trying to re-index. Update to the latest version I have just pushed which runs these commands 1 at a time, thus making it a lot less likely for the whole block to fail/retry.Code:touch /jffs/addons/uiDivStats.d/.upgraded2
Once updated, run
then launch uiDivStats again. It will again take a little time, but it should be under 10 minutes (roughly how long it took for my 300MB db)Code:rm /jffs/addons/uiDivStats.d/.upgraded2
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!