Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 381 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 381 Bytes

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}