opsengine / cpulimit

CPU usage limiter for Linux
Other
1.69k stars 269 forks source link

[Idea] Limit by temperature #38

Open UMLAUTaxl opened 10 years ago

UMLAUTaxl commented 10 years ago

Some Carl Sopchak offered a fork once. But it has unfortunately vanished since then. http://setiathome.berkeley.edu/forum_thread.php?id=28556&postid=455329 http://setiathome.berkeley.edu/forum_thread.php?id=23378 I have no idea of how big the changes had to be (or of programming ;).

erm3nda commented 9 years ago

I guess that limit the execution of a program based on cpuload averages is also a way to accomplish same task on virtualization systems with NO temperature sensors to prevent some task to being executed (or delaying) if the system is too load.

@UMLAUTaxl

Maybe you can do a nice approach using m/monit to detect values then apply cpulimit. https://mmonit.com/

On mmonit you should read examples and make your own action trigger with a target action (the cpulimit whole command with arguments).

PiR43 commented 6 years ago

I have just created a pull request who manage the load target like proposed by @erm3nda https://github.com/opsengine/cpulimit/pull/74