cgset command examples

cgset command examples

cgset – set the parameters of given cgroup(s)

#cgset -r cpuset.cpus=0-1 student

set variable cpus in control group student (controller cpuset) to 0-1

 

#cgset --copy-from group1/ group2/

copy all parameters of group group1 to group group2 (for all path where both cgroups are defined)

 

Leave a Reply

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