Q:

[Linux]restrict cpu usage by group or user

I need restrict cpu usage by group or user
have any software can do this
1.I have study  cpulimit,but cpulimit can not by group or user,cpulimit only can by process or process id
2.I have study /etc/security/limits.conf,but only restrict cpu time,not cpu usage

A:

for this you can use linux cgroup, for more information you read can the linux kernel Docs Documentation/cgroups/cgroups.txt 

