[Toybox] BSD style options for ps.

enh enh at google.com
Tue Jan 22 18:40:44 PST 2019


i've been mildly/pleasantly surprised that no-one's asked for them on
Android yet. i would say i haven't noticed their absence.

i would say i haven't noticed personally, but i still haven't been
brave enough to actually switch my host bin over to toybox. one of
these days...

On Mon, Jan 21, 2019 at 11:26 AM Rob Landley <rob at landley.net> wrote:
>
> 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
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net



More information about the Toybox mailing list