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)
Sun, May 17, 7:51 AM
Unknown Object (File)
Sun, May 17, 5:53 AM
Unknown Object (File)
Sat, May 16, 8:07 PM
Unknown Object (File)
Sat, May 16, 8:07 PM
Unknown Object (File)
Thu, May 14, 10:15 AM
Unknown Object (File)
Thu, May 14, 10:15 AM
Unknown Object (File)
Fri, May 8, 10:08 AM
Unknown Object (File)
Thu, Apr 30, 10:14 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