Page MenuHomeFreeBSD

Update ps.1 regarding -D option and wrong assumption about -p x/d interaction
ClosedPublic

Authored by bcr on Nov 11 2023, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 2:31 PM
Unknown Object (File)
Fri, Apr 26, 2:17 AM
Unknown Object (File)
Sun, Apr 21, 7:02 PM
Unknown Object (File)
Fri, Apr 19, 1:02 AM
Unknown Object (File)
Sun, Apr 14, 5:33 PM
Unknown Object (File)
Mon, Apr 8, 2:07 PM
Unknown Object (File)
Jan 14 2024, 5:25 AM
Unknown Object (File)
Jan 10 2024, 1:33 PM
Subscribers

Details

Summary

pstef@ pointed out that my change in https://cgit.freebsd.org/src/commit/?id=d6ae056e9dc96c2db45982ac358ba9ed716a9202 is no longer accurate.

The -p option does not imply -x, it is merely a different mode that ps uses. Remove that statement from the -p option, effectively rolling back the commit above.
He introduced the -D option in https://cgit.freebsd.org/src/commit/bin/ps/ps.1?id=5c0a1c15ff8cb66128f4826ace8ba91e0a31486d which also turns ps into a similar mode. List the -D option along with the others in the first sentence of the second paragraph of the DESCRIPTION for completeness and correctness sake.

Test Plan
  1. apply patch to bin/ps/ps.1
  2. check output
  3. comment/approve

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable