[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Limit a process's CPU usage?



On Fri, 28 Mar 2003 12:26:54 +0100
Joerg Johannes <liste_joerg@gmx.de> wrote:

> processor fan constatly being on. Is there a way on telling seti@home
> to use the CPU at no more than, say 30%?
> I have already set it to nice 19, but this affects only the priority,
> so that an other process can take over the CPU more easily, this does
> not reduce CPU load.

This would be an *ugly* hack.

A cron job which runs every minute to:
 kill the seti process
 sleep for 40 seconds
 start the seti process

should do something like what you want.

Kevin



Reply to: