correct format?

Christopher Stone chris.stone at gmail.com
Mon May 31 01:40:57 UTC 2004


>From the FAQ URL shown in the error message:

According to the POSIX and UNIX standards, the above command asks to
display all processes with a TTY (generally the commands users are
running) plus all processes owned by a user named "x". If that user
doesn't exist, then ps will assume you really meant "ps aux". The
warning is given to gently break you of a habit that will cause you
trouble if a user named "x" were created.

On Mon, 31 May 2004 02:16:12 +0100, Craig Tinson <craig at 8010.co.uk> wrote:
> 
> just saw this..
> 
> ------------------------
> [craig at craig]# ps -aux
> Warning: bad syntax, perhaps a bogus '-'? See
> http://procps.sf.net/faq.html
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> root         1  0.2  0.0  2116  464 ?        S    01:33   0:05 init [5]
> etc etc...
> ------------------------
> 
> I've used -aux with ps ever since I started to learn about linux (about
> 9 years ago with slackware)
> 
> I *have* noticed that it doesn't work too well when I go visit a client
> of mine that has an old sparc running solaris though..
> 
> so what gives? never seen this error in previous versions of RH.. am
> running FC2 on this machine now so is it a new thing with FC2?
> 
> just curious.. always figured the "-" for "options" was a perfectly good
> way to handle things and seems to still be the de-facto on most
> commands.. so why is "ps" so different?
> 
> Craig
> 
> --
> Craig Tinson
> 
> 8010 Media Ltd
> 
>                                      \|||/
>                                      (o o)
> ----------------------------------ooO-(_)-Ooo-----------------------------
> _ _ /: Thbbft.  |   Craig Tinson               | "The most overlooked
> \'o.O;   _/     |   8010 Media Ltd             | advantage of owning a
> =(___)=         |   Email: craig at 8010.co.uk    | computer is that if
>   |U|           |   Tel: 0113 249 7027         | they foul up there's
>                 |   Mob: 0788 061 3892         | no law against whacking
>                 |   MSN: cgtinson at hotmail.com  | them around a bit."
> --------------------------------------------------------------------------
> 
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>





More information about the fedora-list mailing list