# create new dircd /sys/fs/cgroup
mkdir test# creat loop.sh for testing cpu quotavim loop.sh
while :
do :
done# lunch loop.sh, generate pid -> 2584068nohup sh loop.sh &# echo pid to cgroup.procsecho2584068 > test/cgroup.procs
# set cpu, at lease 0.1echo100010000 > test/cpu.max
# check top
# recovery allkill2584068rmdir test