Move running tasks to
cgroups
. More information: https://manned.org/cgclassify.
cgclassify -g cpu:student 1234
/etc/cgrules.conf
configuration file:cgclassify 1234
cgred
does not change cgroups
of the specific PID and its children (based on /etc/cgrules.conf
):cgclassify --sticky -g cpu:/student 1234