use `cgroup.procs`, not the deprecated `tasks` API