[Toybox] BSD style options for ps.

Rob Landley rob at landley.net
Mon Jan 21 11:26:47 PST 2019


On 1/21/19 12:54 PM, Rob Landley wrote:
> I'm trying to add basic "ps ax" support to toybox because that's a hardwired
> habit for me, and I've got the plumbing to do it and I've even started, but this
> (from the ps man page) is kinda horrible:
> 
>        Note that "ps -aux" is distinct from "ps aux".  The POSIX and UNIX
>        standards require that "ps -aux" print all processes owned by a user
>        named "x", as well as printing all processes that would be selected by
>        the -a option.  If the user named "x" does not exist, this ps may
>        interpret the command as "ps aux" instead and print a warning.

Also, the ubuntu ps man page doesn't list "-x" but when I do:

  ps -x

I get very different output from just "ps".

Rob



More information about the Toybox mailing list