ubuntu and cgroups

Kevin Wilson wkevils at gmail.com
Fri Apr 12 13:15:21 UTC 2013


Hello,
I am using Ubuntu 12.10 (with Linux 3.5.0-17-generic kernel)
There is no special installation (like containers/openvz) on this
machine and no kernel patches.

After boot, I see:

 mount | grep cgroup
gives:
cgroup on /sys/fs/cgroup type tmpfs (rw,relatime,mode=755)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)
cgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)

more info:
uname -a
Linux amd 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

And for example, there are 153 pid entries, as  getting when running:
ls  /sys/fs/cgroup/cpuset/tasks | wc -l

Question: which service/process mount this cgroups ? (there is no
systemd in Ubuntu). For which purpose are they mounted ?


Best,
Kevin




More information about the ubuntu-users mailing list