[Solved] ps cuts lines short

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)

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.