[CentOS] how to limit cpu usage for specified processes

Wed Sep 7 07:52:33 UTC 2016
Sander Kuusemets <sander.kuusemets at ut.ee>

Hello,

You could do it with Cgroups, if your specified processes run or can be 
made to run in group permissions.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/sec-cpu_and_memory-use_case.html

Regards,

-- 
Sander Kuusemets
University of Tartu, High Performance Computing, IT Specialist
Skype: sander.kuusemets1
+372 737 5694

On 09/07/2016 10:45 AM, qw wrote:
> Hi,
>
>
> Is there some tool or method in centos that can limit cpu usage to some percentage for specified processes that consume large cpu resource?
>
>
> I found cpulimit which is only able to limit one process. what I want is one tool that can limit several same processes' cpu usage. Thanks!
>
>
> Regards
>
>
> andrew
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos