]> granicus.if.org Git - procps-ng/commit
ps: display control group name
authorCraig Small <csmall@enc.com.au>
Sat, 15 Aug 2015 07:10:38 +0000 (17:10 +1000)
committerCraig Small <csmall@enc.com.au>
Wed, 14 Oct 2015 10:34:37 +0000 (21:34 +1100)
commit03b148d5178b6ab8a11f7171cd07ceccd449ad8c
tree255ea4496d413559df7c1a102fc0d39c51d8700e
parent7b08ad19cc245e9a57c3364cd252ebab61d0394d
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 0ee090ae16a3a98ba64a1bb8108597328a4c05b0
ps/output.c
ps/ps.1