Ps column width truncated in FreeBSD

ps aux | grep mongo

in zsh, for example, outputs

/usr/local/bin/mongod --logpath /var/db/mongodb/mongod.log --logappend --config /usr/local/etc/mongodb.conf --dbpath /var/db/mong

You can see it running off the screen and getting clipping at the end.

In FreeBSD, how can I see the full output?

+4
source share
1 answer

Use the parameter -w(repeat if necessary). Try:

ps auxwww | grep mongo

See the manual page for more details .

+2
source

Source: https://habr.com/ru/post/1624831/


All Articles