[lug] Am I using cgroups?

Davide Del Vento davide.del.vento at gmail.com
Thu Mar 7 10:56:57 MST 2013


I'm trying to understand if my machine:
- has cgroups "enabled" (whatever that may mean, e.g. I may starting
use them without any system change [let alone a reboot!!] possibly
besides the cgroup creation)
- is actually using cgroups.

I base what I know and what I read from:
https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt

$ cat /proc/cgroups
#subsys_name    hierarchy       num_cgroups     enabled
cpuset  0       1       1
ns      0       1       1
cpu     0       1       1
cpuacct 0       1       1
memory  0       1       1
devices 0       1       1
freezer 0       1       1
net_cls 0       1       1
blkio   0       1       1
perf_event      0       1       1
$ mount | grep group
$

Does this mean that I have cgroups enabled but I am not using them at present?

Thanks!
Davide



More information about the LUG mailing list