cgroup.procs versus tasks (cgroups)
Kevin Wilson
wkevils at gmail.com
Mon Apr 1 22:54:56 EDT 2013
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
More information about the Kernelnewbies
mailing list