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 that it runs off the screen and gets cutoff at the end.
In FreeBSD, how can I see the full output?
Use the -w
option (repeated if necessary). Try:
ps auxwww | grep mongo
See the manual page for more.