[PATCH] ps: add options -G, -U and -p (fixed)

Chris Ever chirsz-ever at outlook.com
Sat Aug 30 18:53:56 UTC 2025


The previous email was automatically wrapped by Thunderbird, so in this one the patch is sent as an attachment.
---
This patch implements the -G, -U, and -p options for ps according to POSIX.

Why -g and -u are not implemented: In POSIX they are XSI. On BSD platforms, -g 
are not generally supported,
and -u have different meanings than in POSIX.

Why -t is not implemented: Because there are subtle differences between 
different implementations, and these
implementations conflict with the XSI scheme described by POSIX.

References:

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html
https://man.freebsd.org/cgi/man.cgi?ps(1)
https://man.netbsd.org/ps.1
https://man.openbsd.org/ps.1
https://man7.org/linux/man-pages/man1/ps.1.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ps-add-options-G-U-and-p.patch
Type: text/x-patch
Size: 7927 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20250831/b34cf70b/attachment-0001.bin>


More information about the busybox mailing list