we all know this:
# ps
...
1565 dnsmasq 1364 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c
...
Well the solution is "right there":
# ps -ww
...
1565 dnsmasq 1364 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
...
No need to install procps
or some proprietary scripts. Just use the -ww flags. (a single -w flag is not enough)