Find the answer to your Linux question:
Results 1 to 4 of 4
Is there any way to limit the CPU usage of a determined process... I'm running certains encoders all the day in a ver PowerPC 200mhz and I'm not in hurry...so ...
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    2

    Lightbulb Limit CPU usage for a process...

    Is there any way to limit the CPU usage of a determined process... I'm running certains encoders all the day in a ver PowerPC 200mhz and I'm not in hurry...so I would like to limit the CPU usage to the 50% to avoid overheating and ageing problems...
    nice is not useful because it's the only process running so even setting the nice level to 19, the process will use 100% of the process...

    ulimits doesn't apply in this case, the cpu usage limit controlled by ulimits is referred to time...

    So... at the very first glance I thought it was gonna to be easy... but I'm realising there is no such way to limit or control the maximum CPU usage for a process....
    Does anyone have a clues? Thanks...

  2. #2
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    If you're just trying to go easy on your CPU, you might look into a frequency daemon, provided your CPU supports frequency stepping.
    Stand up and be counted as a Linux user!

  3. #3
    Just Joined!
    Join Date
    Apr 2006
    Posts
    2
    mmm no, I just want to limit a very specific process... I seemed so simple to me... but there is no way to do that..

    Thanks anyway

  4. #4
    Just Joined!
    Join Date
    Aug 2006
    Posts
    1
    apt-get install cpulimit

    man cpulimit

    bye

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •