Re: [CentOS] how to limit cpu usage for specified processes

2016-09-07 Thread Gianluca Cecchi
On Wed, Sep 7, 2016 at 9:52 AM, Sander Kuusemets wrote: > 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_Enterp > rise_Linux/6/html/Resource_Management_Guide/sec-cpu_a

Re: [CentOS] how to limit cpu usage for specified processes

2016-09-07 Thread Sander Kuusemets
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

[CentOS] how to limit cpu usage for specified processes

2016-09-07 Thread qw
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