English
« Back to projectatomic.io
Ask Your Question
0

what is the meaning of the enabled field in /proc/cgroups [closed]

asked 2017-07-30 14:51:39 +0000

jettyhu gravatar image

updated 2017-07-31 00:03:26 +0000

I use the fedora atomic 25 as container os to running kubernetes.

Look at the /proc/cgroups in fedora atomic os. the enabled field of 'cpuset,cpu,memory' subsystem is neither 0 nor 1.

I see in http://man7.org/linux/man-pages/man7/... say that below: This field contains the value 1 if this controller is enabled, or 0 if it has been disabled (via the cgroup_disable kernel command-line boot parameter).

what is the meaning of the field in fedora atomic? the subsystem is working well?

The fellowing info is my fedora-atomic 25 instance:

[fedora@fedora-atomic ~]$ sudo cat /proc/cgroups
#subsysname hierarchy numcgroups enabled
cpuset 8 1 1
cpu 2 57 1
cpuacct 2 57 1
blkio 10 2 1
memory 9 99 1
devices 7 52 1
freezer 5 1 1
netcls 3 1 1
perf
event 11 1 1
net_prio 3 1 1
hugetlb 4 1 1
pids 6 72 1

[fedora@fedora-atomic ~]$ sudo uname -a Linux fedora-atomic.novalocal 4.10.15-200.fc25.x8664 #1 SMP Mon May 8 18:46:06 UTC 2017 x8664 x8664 x8664 GNU/Linux

[fedora@fedora-atomic ~]$ sudo mount | grep cgroup tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,releaseagent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/netcls,netprio type cgroup (rw,nosuid,nodev,noexec,relatime,netcls,netprio) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/perfevent type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by jettyhu
close date 2017-07-31 05:10:14.806836

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-30 23:57:11 +0000

jettyhu gravatar image

I need help about this question! thanks

edit flag offensive delete link more

Comments

I was confused by the output of cat /proc/cgroup, the field enabled is right. I will close the bug!

jettyhu ( 2017-07-31 05:08:58 +0000 )edit

Stats

Asked: 2017-07-30 14:51:39 +0000

Seen: 22 times

Last updated: Jul 31