Which two statements are true?

Consider a cgroup configuration in the /etc/cgconfig.conf file: mount {
cpuset = /cgroup/A; cpu = /cgroup/A; cpuacct = /cgroup/cpuacct;
}
group A1 { perm{ admin { uid = root; gid = wheel;
}
task{ uid = root; gid = users;
}
}
cpuset{
cpuset.mems-!On;
cpuset.cpus-!0″;
}
cpu{
cpu shares=”5”;
}
}
group A2 { perm{ admin { uid = root; admin { uid = root gid = root;
}
task{ uid = root; gid = users;
> fe
}
cpuset{
cpuset.mems=”0″;
cpuset.cpus^T;
}
cpu{
cpu.shares=n5”;
}
}

Which two statements are true?

Consider a cgroup configuration in the /etc/cgconfig.conf file: mount {
cpuset = /cgroup/A; cpu = /cgroup/A; cpuacct = /cgroup/cpuacct;
}
group A1 { perm{ admin { uid = root; gid = wheel;
}
task{ uid = root; gid = users;
}
}
cpuset{
cpuset.mems-!On;
cpuset.cpus-!0″;
}
cpu{
cpu shares=”5”;
}
}
group A2 { perm{ admin { uid = root; admin { uid = root gid = root;
}
task{ uid = root; gid = users;
> fe
}
cpuset{
cpuset.mems=”0″;
cpuset.cpus^T;
}
cpu{
cpu.shares=n5”;
}
}

Which two statements are true?

A.
Two cgroup hierarchies and three subsystems are defined; cgroup A1 and A2 are located in the same sgroup hierarchy.

B.
Two cgroup hierarchies and threesubsystems are defined; cgroup A1 and A2 are located in different cgroup hierarchiers.

C.
Three cgroup hierarchies and three subsystems are defined; cgroup A1 and A2 are located in the same sgroup hierarchy.

D.
Three cgroup hierarchies and three subsystems are defined; cgroup A1 and A2 are located in different cgroup hierarchiers.

E.
Any user who is a member of theusersgroup is allowed to move his or her own tasks from the root cgroup to cgroup A1 or cgroup A2.

F.
Any user who is a member of theusersgroup is allowed to execute tasks in cgroups A1 and A2 and change thecpu.sharesparameter in cgroups A1 and A2.



Leave a Reply 3

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


deyo

deyo

my guess is
A,E (but it’s probably wrong)

some.guy

some.guy

A & E

* You can associate only one virtual subsystem hierarchy from /cgroup with a
cgroup. Also, if a several subsystems are grouped in the same hierarchy,
you must include definitions for all the subsystems.

Chu Ha Khanh

Chu Ha Khanh

A E
E is correct than F because
group users is belong to task section of both cgroup A1,A2( admin section of cgroup A2 is group root )

task section is to create task in cgroup
admin section is to change subsystem parameter ( correct to F )