Skip to content

Instantly share code, notes, and snippets.

@tommybutler
Created October 12, 2013 19:08
Show Gist options
  • Save tommybutler/6953684 to your computer and use it in GitHub Desktop.
Save tommybutler/6953684 to your computer and use it in GitHub Desktop.
Monitor CPU Core temperature in Linux on the command line
# add this to your .bashrc
function coretemp {
/usr/bin/clear;
while : ; do
/usr/bin/sensors | /bin/grep ^Core | while read x; do
/usr/bin/printf '% .23s\n' "$x";
done;
/bin/sleep 1 && /usr/bin/clear;
done;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment