ps -auxwww default warning

by Yuval Ararat on 27/08/2008

Have you known that the ps in Redhat is printing out an error when you use the -aux argument?
This is the most annoying thing ever.
Every time i put the ps-auxwww i get this Warning:

Warning: bad syntax, perhaps a bogus ‘-’? See /usr/share/doc/procps-3.2.3/FAQ

i went to the text FAQ file they ask you to go to and the first line states

why am i getting a warning when i am using the -aux argument?

The answer was that if you ever create a user with the name “x” you will get an error when using the -aux argument.
I must say that the likelihood of creating a user named x is high in the developer world!
But wouldn’t it be wiser to issue a warning when creating the user? saving those few moments of confusion and frustration i had of not realising the command works?

{ 2 comments… read them below or add one }

David February 2, 2011 at 4:49 pm

use: ps auxwww

without the dash before auxwww it doesn’t complain at all!

yuval February 5, 2011 at 10:14 pm

Thanks, this is the logical thing to do but not the documented one… :)

Leave a Comment

Previous post:

Next post: