Page MenuHomeFreeBSD

ps(1): Make '-a' and '-A' always show all processes
ClosedPublic

Authored by olce on Apr 1 2025, 1:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 5, 2:49 AM
Unknown Object (File)
Sat, Sep 27, 3:27 AM
Unknown Object (File)
Sep 5 2025, 1:15 PM
Unknown Object (File)
Aug 19 2025, 5:43 AM
Unknown Object (File)
Aug 15 2025, 1:11 AM
Unknown Object (File)
Aug 14 2025, 10:13 PM
Unknown Object (File)
Aug 13 2025, 9:18 AM
Unknown Object (File)
Aug 11 2025, 10:51 AM
Subscribers

Details

Summary

When combined with other options affecting the selection of processes,
except for '-X' and '-x', option '-a' would have no effect (and '-A'
would reduce to just '-x'). This was in contradiction with the rule
applying to all other selection options stating that one process is
listed as soon as any of these options has been specified and selects
it, which is both mandated by POSIX and arguably a natural expectation.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63259
Build 60143: arc lint + arc unit