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
F168410358: D42552.id129964.diff
Fri, Aug 28, 3:13 AM
Unknown Object (File)
Mon, Aug 24, 9:41 AM
Unknown Object (File)
Mon, Aug 24, 9:41 AM
Unknown Object (File)
Sat, Aug 22, 10:57 PM
Unknown Object (File)
Sat, Aug 22, 8:15 AM
Unknown Object (File)
Mon, Aug 17, 2:25 PM
Unknown Object (File)
Mon, Aug 17, 2:25 PM
Unknown Object (File)
Mon, Aug 17, 2:24 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