aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2023-10-06 14:29:21 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2023-10-06 14:29:21 +0000
commitd6ae056e9dc96c2db45982ac358ba9ed716a9202 (patch)
treea34127f7b837ffb649eb488dade96e7f02361527
parent57b9a104a26d0761c4cba5726f0ab78b50a57ded (diff)
downloadsrc-d6ae056e9dc96c2db45982ac358ba9ed716a9202.tar.gz
src-d6ae056e9dc96c2db45982ac358ba9ed716a9202.zip
Extend description of -p to include interactions with -d and implying -x
PR: 268052 Event: Oslo Hackathon Differential Revision: https://reviews.freebsd.org/D40595
-rw-r--r--bin/ps/ps.17
1 files changed, 6 insertions, 1 deletions
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.