diff options
author | brian <brian@FreeBSD.org> | 2009-05-17 04:00:43 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2009-05-17 04:00:43 +0000 |
commit | 04ab6b4b29dd329da0b15b1fb9d352ad46345130 (patch) | |
tree | 3ea0851a957e0b79596c05ac389dff8adbab3743 /bin/ps/ps.1 | |
parent | 33504763e76102ecd6efe8f618b9cf7d9f535a5a (diff) | |
download | FreeBSD-src-04ab6b4b29dd329da0b15b1fb9d352ad46345130.zip FreeBSD-src-04ab6b4b29dd329da0b15b1fb9d352ad46345130.tar.gz |
Add a -d option to ps to display descendant info with the output.
This is similar to linux's -H (or -f) switch.
MFC after: 3 weeks
Diffstat (limited to 'bin/ps/ps.1')
-rw-r--r-- | bin/ps/ps.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 01e654e..ebd70d0 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -29,7 +29,7 @@ .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd August 21, 2006 +.Dd May 16, 2009 .Dt PS 1 .Os .Sh NAME @@ -37,7 +37,7 @@ .Nd process status .Sh SYNOPSIS .Nm -.Op Fl aCcefHhjlmrSTuvwXxZ +.Op Fl aCcdefHhjlmrSTuvwXxZ .Op Fl O Ar fmt | Fl o Ar fmt .Op Fl G Ar gid Ns Op , Ns Ar gid Ns Ar ... .Op Fl M Ar core @@ -122,6 +122,15 @@ CPU calculation that ignores .Dq resident time (this normally has no effect). +.It Fl d +Arrange processes into descendancy order and prefix each command with +indentation text showing sibling and parent/child relationships. +If either of the +.Fl m +and +.Fl r +options are also used, they control how sibling processes are sorted +relative to eachother. .It Fl e Display the environment as well. .It Fl f |