Throttle a process based on a chosen CPU max tempurature level.
Find a file
Jeff Alyanak c001a1bf89
Initial Checkin
Wouldn't call this "production ready", but it works.
2020-01-16 13:17:02 -05:00
LICENSE.txt Initial Checkin 2020-01-16 13:17:02 -05:00
README.md Initial Checkin 2020-01-16 13:17:02 -05:00
temp-throttle.sh Initial Checkin 2020-01-16 13:17:02 -05:00

temp-throttle

Introduction

Need a quick and dirty way to throttle a process based on a desired CPU temperature? temp-throttle is the answer! Simply provide a target temperature and a process!

Great for limiting programs like Folding@Home that want to max your CPU and turn your computer into a heater. Now you can control the heat output of that heater!

Warning: This script was written hastily with minimal testing. Use at your own risk!

Example

Simply run the script and provide the temperature and process.

For example:

./temp-throttle.sh --temp 72 --process FahCore_a7

Requirements

This script requires cpulimit.