code: def update(self):
          
          pids = fileops.readlines(self.paths['cgroup.procs'])
          self.pids = [int(pid) for pid in pids if pid != '']
          self.n_procs = len(pids)
docs: It updates process information of the cgroup.