cgroups in CentOS Linux release 7.1.1503 (Core)

1.4k views Asked by At

I have virtual machine "CentOS Linux release 7.1.1503 (Core)" , where I can not find cgroups, "/sys/fs/cgroup" directory has nothing in it. I have also installed cgrouplib pakages but still there is nothing.

How I can get cgroups , would be very helpful you anyone can provide the details.

Thanks a lot!!

1

There are 1 answers

2
Rohit Jnagal On

Centos has cgroups installed under /cgroup.

You can check the enabled cgroups under /proc/cgroups.

cat /proc/mounts | grep ^cgroup will give the location where cgroups are mounted.