LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   restricting Max CPU Utilization per process (https://www.linuxquestions.org/questions/linux-newbie-8/restricting-max-cpu-utilization-per-process-679622/)

subrash 10-28-2008 03:31 PM

restricting Max CPU Utilization per process
 
is there any way i can restrict the maximum cpu utilization of a process as reported by top(%CPU). ulimit does not seem to do that . The process is running continously and peak utilizations reaches 80% . Normally when the process does not recieve any traffic it's utilization is near 0. Is there any way i can start this process or set a kernel parameter such that it's cpu utilization never increases 20%( or some predefined soft limit)
Thanks
Shriram

H_TeXMeX_H 10-29-2008 03:40 AM

Try this program:
http://cpulimit.sourceforge.net/


All times are GMT -5. The time now is 01:12 AM.