-
-
Save tumichnix/cf04679ec67f1ec6e99ff175d3a7695e to your computer and use it in GitHub Desktop.
CPU Temp
This file contains 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 | |
while true; do | |
sleep 1 | |
DATE=$(date) | |
TEMP=$(sensors | awk '/Core 0/ {sub("°C", "", $3); print($3)}') | |
echo $DATE $TEMP >> temp.log | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment