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)
Sat, Nov 8, 1:56 AM
Unknown Object (File)
Sat, Oct 25, 9:38 PM
Unknown Object (File)
Fri, Oct 24, 4:26 AM
Unknown Object (File)
Fri, Oct 24, 12:20 AM
Unknown Object (File)
Oct 5 2025, 2:49 AM
Unknown Object (File)
Sep 27 2025, 3:27 AM
Unknown Object (File)
Sep 5 2025, 1:15 PM
Unknown Object (File)
Aug 19 2025, 5:43 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