Linux "top -c" to show full command
top per se doesn't support wrapping, if i am correct. One way is you can increase your terminal width as follows.
export COLUMNS=_NO_YOU_DESIRE_
top
** then set update interval with 's _REFRESH_INTERVAL_'
** turn on command line display with 'c'
htop
shows the full command. You can scroll to the right to see it all.
http://hisham.hm/htop/
You can also rearrange, add and remove the columns to just show the information you are interested in. Press h
inside top for details (or man htop
in the terminal).
What helped was using the -O
option to move the command to the leftmost column and then -f
to remove most of the other items. I was interested to see only the full command which was being run.