Thursday, December 22, 2011

show the full output line of ps process status command

show the full output line of ps process status command

# ps -auxww

The -w parameter tells ps to use 132 columns to display information. If the -w option is specified more than once, ps will use as many columns as necessary without regard for your window size, which will display the full output.

Another similar problem with less command:

# less -S /usr/ports/UPDATING

The -S options tells less command to not chop the long lines after the terminal width.

No comments: