Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know the difference of ps -awx vs. ps -awwx?

I'm tracking down some processes, and I see significantly more information when I add an additional "w". Does this work like in other cases (such as SSH debugging) when you issue multiple "v", the more "verbose" the output is? I didn't see anything in the man pages about this.

share|improve this question
man ps: "-w Wide output. Use this option twice for unlimited width." – Dennis Williamson Feb 7 '11 at 20:56
up vote 8 down vote accepted

Quoth the man page (man ps):

 -w      Use 132 columns to display information, instead of the default which is your window
         size.  If the -w option is specified more than once, ps will use as many columns
         as necessary without regard for your window size.  
         When output is not to a terminal, an unlimited number of columns are always used.

Note that the above is from a BSD manpage. A debian manpage is somewhat more terse/less specific, but similar:

        -w              Wide output. Use this option twice for unlimited width.
share|improve this answer
I must be reading a manpage that is "less" specific. Sorry. – drewrockshard Feb 7 '11 at 21:17
If your distribution's manpage doesn't even mention -w you should publicly name-and-shame them – voretaq7 Feb 7 '11 at 21:52

The -w switch says to use Wide output but the width is limited. Using -ww says to use unlimited width output so you get to see the full command line for a command wrapped as many times as it takes. Adding additional ws beyond 2 has no effect.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.