killall -s USR1 dnsmasq
Doesn’t appear to work. I checked syslog (messages) and dnsmasq.log and not seeing any related statistics.Code:killall -s USR1 dnsmasq
Nov 1 08:00:00 dnsmasq[30398]: time 4964517
Nov 1 08:00:00 dnsmasq[30398]: cache size 1500, 0/33795 cache insertions re-used unexpired cache entries.
Nov 1 08:00:00 dnsmasq[30398]: queries forwarded 47209, queries answered locally 53093
Nov 1 08:00:00 dnsmasq[30398]: pool memory in use 0, max 44, allocated 2200
Nov 1 08:00:00 dnsmasq[30398]: server 1.1.1.1#53: queries sent 10344, retried or failed 0
Nov 1 08:00:00 dnsmasq[30398]: server 194.168.4.100#53: queries sent 10344, retried or failed 11
I found that while Diversion is running that the stats will not show up in the logs with the killall command.The command is correct so you must be using some sort of non-default logging.
Code:Nov 1 08:00:00 dnsmasq[30398]: time 4964517 Nov 1 08:00:00 dnsmasq[30398]: cache size 1500, 0/33795 cache insertions re-used unexpired cache entries. Nov 1 08:00:00 dnsmasq[30398]: queries forwarded 47209, queries answered locally 53093 Nov 1 08:00:00 dnsmasq[30398]: pool memory in use 0, max 44, allocated 2200 Nov 1 08:00:00 dnsmasq[30398]: server 1.1.1.1#53: queries sent 10344, retried or failed 0 Nov 1 08:00:00 dnsmasq[30398]: server 194.168.4.100#53: queries sent 10344, retried or failed 11
Thanks @ColinTaylor and @dave14305, I was finally able to find the stats in the dnsmasq.log - i was assuming the stats would be at the end of the log after issuing the command but they were at the start of the very long list of block lines that were printed after the stats.I found that while Diversion is running that the stats will not show up in the logs with the killall command.
Any thoughts or should I post a separate question in the Asuswrt-Merlin AddOns channel?
We use essential cookies to make this site work, and optional cookies to enhance your experience.