Throttle a process to only use x% of available cpu?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is it possible to throttle a process so that it can only use a specified maximum of the cpu? I want to cut setiathome down to say only 50% so that my psu case fan doesn't kick in but still leave seti running. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAO0LTNclAUt2HMX8RAhovAJ42W4d0fL+obqvSBRIA6QlBk3vACgCggrn6 2TuLb1DyZapATfmITDm3QrU= =oD/n -----END PGP SIGNATURE-----
On Tue, 2004-02-24 at 07:25, Paul Cooke wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Is it possible to throttle a process so that it can only use a specified maximum of the cpu?
I want to cut setiathome down to say only 50% so that my psu case fan doesn't kick in but still leave seti running.
Have a look at the nice command, man nice -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)
The Tuesday 2004-02-24 at 08:20 -0500, Kenneth Schneider wrote:
I want to cut setiathome down to say only 50% so that my psu case fan doesn't kick in but still leave seti running.
Have a look at the nice command, man nice
With nice the command uses as much of unused cpu cycles as it need, if no other process running at a higher priority needs them. What he is asking is different: use at most 50% CPU, even if it is completely idling. I like that idea... but I don't know how to do it, nor if it is possible. -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Kenneth Schneider
-
Paul Cooke