Kevin Wilson
2013-04-02 02:54:56 UTC
Hi?
Any idea what is the difference "cgroup.procs" entry and "tasks"
entry of cgroup sysfs?
both represent pid lists.
I ran:
cat /sys/fs/cgroup/cpuset/cgroup.procs
and
cat /sys/fs/cgroup/cpuset/tasks
and entries of cgroup.procs appear in tasks.
However there are many more tasks than cgroup.procs:
cat /sys/fs/cgroup/cpuset/cgroup.procs | wc -l
153
cat /sys/fs/cgroup/cpuset/tasks | wc -l
383
Best
Kevin
Any idea what is the difference "cgroup.procs" entry and "tasks"
entry of cgroup sysfs?
both represent pid lists.
I ran:
cat /sys/fs/cgroup/cpuset/cgroup.procs
and
cat /sys/fs/cgroup/cpuset/tasks
and entries of cgroup.procs appear in tasks.
However there are many more tasks than cgroup.procs:
cat /sys/fs/cgroup/cpuset/cgroup.procs | wc -l
153
cat /sys/fs/cgroup/cpuset/tasks | wc -l
383
Best
Kevin