Exemplos de Uso
$
yum install libcgroup libcgroup-tools -y
$
cgcreate -g cpu,memory:/webapp
$
cgset -r cpu.shares=512 webapp
$
cgset -r memory.limit_in_bytes=536870912 webapp
$
cgexec -g cpu,memory:webapp php script.php
$
cgclassify -g cpu:webapp 1234