I've been watching this file a while and using AMTM + Tooling since it was first delivered. Jack, any DB maint planned or happening WRT size / pruning by date or age? I'm asking b/c this seems a bit large and maybe needs pruning by date? The GUI basically stopped displaying anything. I'm running on our fastest USB/SATA/SSD + latest AMTM etc... I deleted the large DB a few days ago (sorry) but here's how big it had grown.
Sorry I thought I' had saved my updated post with the commands you wanted, (with the much smaller file now) but I never hit enter.
Running 386.2_4 Merlin on an RT-AX86U
Here's stats from today with a much smaller DB....
time -v /jffs/scripts/uiDivStats generate
uiDivStats: Stats updated successfully
Command being timed: "/jffs/scripts/uiDivStats generate"
User time (seconds): 18.58
System time (seconds): 5.09
Percent of CPU this job got: 96%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 24.47s
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 35600
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 128224
Voluntary context switches: 2471
Involuntary context switches: 4447
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
ls -hl /opt/share/uiDivStats.d/dnsqueries.db
-rw-r--r-- xxxxx 17.8M May 27 08:56 /opt/share/uiDivStats.d/dnsqueries.db
time -v /jffs/scripts/uiDivStats fullrefresh
uiDivStats: Stats updated successfully
Command being timed: "/jffs/scripts/uiDivStats fullrefresh"
User time (seconds): 26.65
System time (seconds): 6.00
Percent of CPU this job got: 96%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 33.81s
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 65360
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 174194
Voluntary context switches: 3400
Involuntary context switches: 8698
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
<EOF>