aboutsummaryrefslogtreecommitdiff
path: root/bin/ps
diff options
context:
space:
mode:
authorBenedict Reuschling <bcr@FreeBSD.org>2023-11-11 19:49:24 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2023-11-11 19:49:24 +0000
commitba44650a0b1e3b0f52554380937a3ffc16d396f3 (patch)
tree7fac78e8a3ab47f625a8f769062036655c227a72 /bin/ps
parentb2921fdc2330a5750f557fa321b94f972d5a7702 (diff)
downloadsrc-ba44650a0b1e3b0f52554380937a3ffc16d396f3.tar.gz
src-ba44650a0b1e3b0f52554380937a3ffc16d396f3.zip
ps.1: update regarding -D option and -p x/d interaction
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 d6ae056e9dc96c2db45982ac358ba9ed716a9202. pstef@ introduced the -D option in 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 section for completeness and correctness sake. Pointed out by: pstef@ Differential Revision: https://reviews.freebsd.org/D42552
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/ps.19
1 files changed, 2 insertions, 7 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index c393b2e49c28..0afd53523854 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -28,7 +28,7 @@
.\"
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd October 6, 2023
+.Dd November 11, 2023
.Dt PS 1
.Os
.Sh NAME
@@ -65,7 +65,7 @@ will also display processes that do not have controlling terminals.
.Pp
A different set of processes can be selected for display by using any
combination of the
-.Fl a , G , J , p , T , t ,
+.Fl a , D , G , J , p , T , t ,
and
.Fl U
options.
@@ -238,11 +238,6 @@ 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.