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

Re: Limit a process's CPU usage?



On Fri Mar 28, 2003 at 12:26:54PM +0100, the boisterous
Joerg Johannes <liste_joerg@gmx.de>
wrote to me:
> I'm running seti@home on my laptop, but the near 100% CPU usage results in my 
> 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.

A quick look gave me: limits(5)
In Debian it seems to be /etc/security/limits.conf and not /etc/limits
as described in limits(5)

so long
Thomas

-- 
  ___    Obviously we do not want to leave zombies around.
_/___\     - W. Richard Stevens
 ( ^ >   Thomas Krennwallner <djmaecki at ull dot at>
 /   \   1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
(__\/_)_ http://bigfish.ull.at/~djmaecki/

Attachment: pgpLFXRpnaO0F.pgp
Description: PGP signature


Reply to: