[Toybox] BSD style options for ps.

Ed Maste emaste at freebsd.org
Wed Jan 30 11:50:28 PST 2019


On Mon, 21 Jan 2019 at 13:54, Rob Landley <rob at landley.net> wrote:
>
> Hey Ed: you're the BSD expert around here. What is the _desired_ behavior and
> expected usage patterns? (Alas I can't really regression test against a thousand
> old scripts doing weird things with ps, it's usually used more interactively...)

Good question :)

Some interesting hack in FreeBSD's ps source:
kludge_oldps_options
https://reviews.freebsd.org/source/src/browse/head/bin/ps/ps.c$1339

FreeBSD's ps man page documents "ps -auxw" as "Display information on
all system processes;" the user-selection option is -U.



More information about the Toybox mailing list