Skip to content

601t/dynamic-circuit-breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Dynamic Circuit Breaker Script

CPU temperature is checked every 5 seconds.
If the CPU temperature exceeds the threshold, this script will forcefully terminate the specified command (which is believed to be the cause of the high temperature).
This script has been tested with Bash 5.2.32 and Zsh 5.9 on Arch Linux.

How to use

./dynamic-circuit-breaker.sh ${PROCESS}

About

Check CPU temperature and protect PC from overheating.

Resources

License

Stars

Watchers

Forks

Languages