JemTheWire
Senior Member
Absolutely. No problem.
Please runAbsolutely. No problem.
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiDivStats/a-aaaa-only/uiDivStats.sh" -o "/jffs/scripts/uiDivStats" && chmod 0755 /jffs/scripts/uiDivStats && /jffs/scripts/uiDivStats
I've just disabled GlassWire and rebooted my PC, no difference to anything. Having connected all my devices back, I am seeing the same spikes, and USB being thrashed.
Scratch that, I made a mistake - bare with!Done, but has issues.
When I chose option 1 to update stats i get the following error:
View attachment 23990
Also the GUI tab looks empty. This is all that is displayed. no other display:
View attachment 23991
Thanks for being patient!OK. I have uninstalled it and removed the db.
I'm back to a clear playing field.
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiDivStats/a-aaaa-only/uiDivStats.sh" -o "/jffs/scripts/uiDivStats" && chmod 0755 /jffs/scripts/uiDivStats && /jffs/scripts/uiDivStats install
cat /jffs/addons/uiDivStats.d/taildns.d/dnsmasqtotal.awk
cat /jffs/addons/uiDivStats.d/taildns.d/dnsmasqtotalextra.awk
Looks good! Now I need to consider if I make this a configurable option - currently working on another branch that will log all record types but cache it via tmpfs. This approach has implications on the query log feature amongst other considerationsOK. Installed When i run the two awk commands all i get is: View attachment 23992
and
View attachment 23992
If you limit the database to A and AAAA records, it's in line with the current Diversion stats logic. And you can get rid of the dnssec check in the awk scripts.Looks good! Now I need to consider if I make this a configurable option - currently working on another branch that will log all record types but cache it via tmpfs. This approach has implications on the query log feature amongst other considerations
Does top still show that io is the culprit for CPU usage?Spoke too soon. Just come back to my PC and core 3 & 4 are having a merry dance 0 > 100%
Not as often though.
I does appear to have improved things.
I'm inclined to include "A/AAAA only mode" with separate awk files as a user-configurable option. In my somewhat quieter environment, it's nice seeing the other query types. I have no idea why @JemTheWire has so many PTR queries flying aroundIf you limit the database to A and AAAA records, it's in line with the current Diversion stats logic. And you can get rid of the dnssec check in the awk scripts.
Any time a machine wants to resolve an IP into a name it would perform a PTR query. Like a monitoring tool maybe wanting to show you things in a nice friendly format.I have just read up on PTR.
Why would I have so many? Is it something an IoT device would do?
grep -E " query\[PTR]" /opt/var/log/dnsmasq.log | awk ' { print $NF } ' | sort | uniq -c | sort -rn | head -10
Ctrl-C out then@Jack Yaz ,trying to update using amtm seems to stick
Enter option j5
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package grep (3.4-1) installed in root is up to date.
Package sqlite3-cli (3310100-1) installed in root is up to date.
Package procps-ng-pkill (3.3.15-4) installed in root is up to date.
Stuck for the last 24hrs
uiDivStats uninstall
rm /opt/share/uiDivStats.d/dnsqueries.db
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!