Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2025 19:51:21 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0a1d13469cd8 - stable/14 - ps.1: update regarding -D option and -p x/d interaction
Message-ID:  <202505011951.541JpLN8066968@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=0a1d13469cd8f3561d676c7438d7abec0964dd3f

commit 0a1d13469cd8f3561d676c7438d7abec0964dd3f
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2023-11-11 19:49:24 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-05-01 19:35:07 +0000

    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
    
    (cherry picked from commit ba44650a0b1e3b0f52554380937a3ffc16d396f3)
---
 bin/ps/ps.1 | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 368d50b46abc..b231cc7a35d6 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505011951.541JpLN8066968>