[mdlug] Difference between ps aux & ps auxw

Jeff Hanson jhansonxi at gmail.com
Tue May 15 00:51:50 EDT 2012


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
>



More information about the mdlug mailing list