Dnsmasq stops occasionaly

Started by gunnarf, November 03, 2025, 08:49:14 AM

Previous topic - Next topic
this morning I found the pid changed... so I updated the monitor loop to pick up the new PID if it changes again...

sh -c 'while true; do ps -o pid,rss,command -p `cat /var/run/dnsmasq.pid`; date; sleep 3600; done' >> dns_mem_usage.out &