Which command can be used to display the parameters of a given cgroup in the cpuset subsystem?

Which command can be used to display the parameters of a given cgroup in the cpuset subsystem?

Which command can be used to display the parameters of a given cgroup in the cpuset subsystem?

A.
Iscgroup | grep group | grep cpuset

B.
cgget -g cpuset cgroup

C.
Issubsys | grep group | grep cpuset

D.
cat /cgroup/cpuset/cgroup/params

Explanation:

You can use the Issubsys command (which is included in the libcgroup package) to view the available kernel subsystems:
#lssubsys -am
cpuset
cpu
cpuacct
memory
devices
freezer
net_cls
blkio



Leave a Reply 2

Your email address will not be published. Required fields are marked *


deyo

deyo

B should be correct

Chu Ha Khanh

Chu Ha Khanh

B
[root@localhost ~]# cgget -g cpuset cgroup
cgroup:
cpuset.memory_spread_slab: 0
cpuset.memory_spread_page: 0
cpuset.memory_pressure: 0
cpuset.memory_migrate: 0
cpuset.sched_relax_domain_level: -1
cpuset.sched_load_balance: 1
cpuset.mem_hardwall: 0
cpuset.mem_exclusive: 0
cpuset.cpu_exclusive: 0
cpuset.mems:
cpuset.cpus: