[mdlug] Difference between ps aux & ps auxw

Brian Brodsky brianbrodsky at ameritech.net
Tue May 15 05:37:43 EDT 2012


In the past I found w to limiting and used ps aux --width 255 instead. 
Now instead of BSD style I have switched back to AT & T Unix style 
instead and use ps -ef. I find the information more useful especially 
the parent process id.

On 5/15/2012 12:51 AM, Jeff Hanson wrote:
> According to the man page, "w" increases the width limit.  I don't
> notice any difference between "ps -Af" and "ps -Afw" on my system in
> an X terminal.  However, in a tty there was a difference with some
> additional text being wrapped so it does seem like the lines were
> longer than the column limit of the terminal with "w".
>
> On 5/14/12, Mat Enders<mat.enders at gmail.com>  wrote:
>> I always use ps aux I am reading a book that says to use ps auxw.  I can
>> not see the difference in the output.  And I can not tell what the
>> difference is from reading the man page.
>>
>> menders-laptop menders # ps auxw | grep [U]SER
>> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
>> menders-laptop menders # ps aux | grep [U]SER
>> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
>> menders-laptop menders # man ps
>>
>>
>> --
>> Mathew E. Enders
>>
>> "Where once Samba and Apache sold Linux to the world they are now just part
>> of the plumbing.  But that's OK, plumbers make good money."
>> --Jeremy Allison
>> _______________________________________________
>> mdlug mailing list
>> mdlug at mdlug.org
>> http://mdlug.org/mailman/listinfo/mdlug
>>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>



More information about the mdlug mailing list