docs: def _parse_proc_cgroups(self):
          """Parse /proc/cgroups"""
  
          """
          #subsys_name	hierarchy	num_cgroups	enabled
          cpuset	0	1	1
          ns	0	1	1
          cpu	1	10	1
          cpuacct	0	1	1
          memory	0	1	1
          devices	0	1	1
          freezer	0	1	1
          net_cls	0	1	1
          """
          for line in fileops.readlines('/proc/cgroups'):
              m = self._RE_CGROUPS.match(line)
              if m is None:
                  continue
  
              name = m.group('name')
              hierarchy = int(m.group('hier'))
              n_cgroups = int(m.group('n'))
              if m.group('enabled') == '1':
                  enabled = True
              else:
                  enabled = False
              if name not in self:
                  self[name] = {}
              self[name]['name'] = name
              self[name]['hierarchy'] = hierarchy
              self[name]['num_cgroups'] = n_cgroups
              self[name]['enabled'] = enabled