tasks lists all threads in the cgroup, for just PIDs you want "cgroup.procs"