code: def _find_own_cgroups():
      
      try:
          with open('/proc/self/cgroup', 'rt') as ownCgroupsFile:
              for cgroup in _parse_proc_pid_cgroup(ownCgroupsFile):
                  yield cgroup
      except IOError:
          logging.exception('Cannot read /proc/self/cgroup')
docs: For all subsystems, return the information in which (sub-)cgroup this process is in.
      (Each process is in exactly cgroup in each hierarchy.)
      @return a generator of tuples (subsystem, cgroup)