LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2008, 04:31 PM   #1
subrash
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
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
 
Old 10-29-2008, 04:40 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
Try this program:
http://cpulimit.sourceforge.net/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
per process Cpu utilization kunal_patel22 Linux - Software 4 12-04-2007 06:14 PM
Per-process %CPU Utilization first_linux Linux - General 3 06-01-2007 12:53 PM
why X window process consume 15% CPU utilization? paomo Linux - Enterprise 3 06-26-2006 01:11 PM
max % of CPU for one process uselpa Slackware 2 07-30-2005 09:21 AM
per process cpu utilization kunal_patel22 Linux - Software 1 05-19-2005 11:26 AM


All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration