git: d6ae056e9dc9 - main - Extend description of -p to include interactions with -d and implying -x
Date: Fri, 06 Oct 2023 14:31:58 UTC
The branch main has been updated by bcr: URL: https://cgit.FreeBSD.org/src/commit/?id=d6ae056e9dc96c2db45982ac358ba9ed716a9202 commit d6ae056e9dc96c2db45982ac358ba9ed716a9202 Author: Benedict Reuschling <bcr@FreeBSD.org> AuthorDate: 2023-10-06 14:29:21 +0000 Commit: Benedict Reuschling <bcr@FreeBSD.org> CommitDate: 2023-10-06 14:29:21 +0000 Extend description of -p to include interactions with -d and implying -x PR: 268052 Event: Oslo Hackathon Differential Revision: https://reviews.freebsd.org/D40595 --- bin/ps/ps.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 23868d8b3009..c393b2e49c28 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -28,7 +28,7 @@ .\" .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" -.Dd August 24, 2023 +.Dd October 6, 2023 .Dt PS 1 .Os .Sh NAME @@ -238,6 +238,11 @@ So the header texts for multiple keywords can be changed. If all keywords have empty header texts, no header line is written. .It Fl p Display information about processes which match the specified process IDs. +It implies the use of +.Fl x . +When combined with +.Fl d , +all descendent processes are included. .It Fl r Sort by current CPU usage, instead of the combination of controlling terminal and process ID.