[Bug 12636] New: ps does not support many POSIX required options

bugzilla at busybox.net bugzilla at busybox.net
Wed Mar 11 12:10:42 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=12636

            Bug ID: 12636
           Summary: ps does not support many POSIX required options
           Product: Busybox
           Version: 1.33.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: wolf+busybox at wolfsden.cz
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

ps does not support the -p option:      

+   $ ./busybox ps -p 1
ps: invalid option -- 'p'
BusyBox v1.32.0.git (2020-03-11 13:06:13 CET) multi-call binary.

Usage: ps [-o COL1,COL2=HEADER] [-T]

Show list of processes

        -o COL1,COL2=HEADER     Select columns for display
        -T                      Show threads

It works with coreutils:

+   $ ps -p 1
    PID TTY          TIME CMD
      1 ?        00:07:41 systemd

More more importantly, it is required by posix. Here is the POSIX spec:

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html

and as you can see, busybox's ps is missing *a lot* of required options.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list