ps: display control group name
The cgroup field while shown as a vector is a concatenated
string, so alot of the complexity of sorting and displaying
has gone.
This change simplifies the cgroup sorting and adds display
and sorting for the name attribute of the cgroup, if found.
Signed-off-by: Craig Small <csmall@enc.com.au>
Ported-by: Jim Warner <james.warner@comcast.net>
From original:
commit 0ee090ae16
This commit is contained in:
6
ps/ps.1
6
ps/ps.1
@ -4,7 +4,7 @@
|
||||
.\" Quick hack conversion by Albert Cahalan, 1998.
|
||||
.\" Licensed under version 2 of the Gnu General Public License.
|
||||
.\"
|
||||
.TH PS 1 "June 2015" "procps-ng" "User Commands"
|
||||
.TH PS 1 "August 2015" "procps-ng" "User Commands"
|
||||
.\"
|
||||
.\" To render this page:
|
||||
.\" groff -t -b -man -X -P-resolution -P100 -Tps ps.1 &
|
||||
@ -1080,6 +1080,10 @@ format is displayed. (alias
|
||||
.BR sig_catch , \ sigcatch ).
|
||||
T}
|
||||
|
||||
cgname CGNAME T{
|
||||
display name of control groups to which the process belongs.
|
||||
T}
|
||||
|
||||
cgroup CGROUP T{
|
||||
display control groups to which the process belongs.
|
||||
T}
|
||||
|
Reference in New Issue
Block a user