Created
March 19, 2020 11:17
-
-
Save kolaente/9bf8b468da3250b08373566d447af78c to your computer and use it in GitHub Desktop.
Log cpu temperature every 10s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
logfile="sensors.log" | |
while true; do | |
date >> $logfile | |
sensors >> $logfile | |
echo "--------------" >> $logfile | |
sleep 10s | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment