NAME
  showcg - Show which cgroups is a process member of

SYNOPSIS
  showcg  [task | pid]

DESCRIPTION
 This command prints the cgroup for each subsys that a process is a member of

Example
  Show the cgroup for the currently active process:

       crash> showcg
       subsys: cpuset               cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: cpu                  cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: cpuacct              cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: blkio                cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: memory               cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: devices              cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: freezer              cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: net_cls              cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: perf_event           cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: net_prio             cgroup: /user.slice/user-1000.slice/session-c1.scope
       subsys: hugetlb              cgroup: /user.slice/user-1000.slice/session-c1.scope

  Alternatively you can pass either a pid or a task pointer to show the cgroup the
  respective process is a member of e.g:

       crash> showcg 1064
   OR
       crash> showcg ffff880405711b80