diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-05-02 15:05:47 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-05-02 15:05:47 +0000 |
commit | 5f3a7beb86032f8a9a9b447d6ac633c6e7e103b7 (patch) | |
tree | b52fe0dcd2fc4cb28d3f2d1730772068d1299210 /bin/ps/ps.1 | |
parent | 3bfe763ff9a13f23a99f6d292e84f2a9aba42084 (diff) | |
download | FreeBSD-src-5f3a7beb86032f8a9a9b447d6ac633c6e7e103b7.zip FreeBSD-src-5f3a7beb86032f8a9a9b447d6ac633c6e7e103b7.tar.gz |
Add -J to filter by matching jail IDs and names.
-J 0 can be used to show only host processes.
Patch partially based on work by bz@
PR: bin/78763
MFC after: 2 weeks
Relnotes: yes
Diffstat (limited to 'bin/ps/ps.1')
-rw-r--r-- | bin/ps/ps.1 | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 118e961..c4239ea 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 December 27, 2013 +.Dd May 2, 2014 .Dt PS 1 .Os .Sh NAME @@ -40,6 +40,7 @@ .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 J Ar jid Ns Op , Ns Ar jid Ns Ar ... .Op Fl M Ar core .Op Fl N Ar system .Op Fl p Ar pid Ns Op , Ns Ar pid Ns Ar ... @@ -62,7 +63,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 , p , T , t , +.Fl a , G , J , p , T , t , and .Fl U options. @@ -152,6 +153,20 @@ Print information associated with the following keywords: .Cm user , pid , ppid , pgid , sid , jobc , state , tt , time , and .Cm command . +.It Fl J +Display information about processes which match the specified jail IDs. +This may be either the +.Cm jid +or +.Cm name +of the jail. +Use +.Fl J +.Sy 0 +to display only host processes. +This flag implies +.Fl x +by default. .It Fl L List the set of keywords available for the .Fl O |