-
Notifications
You must be signed in to change notification settings - Fork 0
Run commands within a CPU temperature window
License
hvds/krun
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
krun: run command within temperature window The command: krun 80 60 make test will run the subcommand 'make test' while monitoring CPU temperatures; if at any point the temperature goes above 80C, the subcommand (process group) will be suspended until it falls below 60C, then allowed to resume. ^C will be propagated to the subcommand before krun exits, but only when the subcommand is not in the suspended state. I'm not sure how portable the sensing code is, please test in your own environment before relying on it.
About
Run commands within a CPU temperature window
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published