Here’s a neat little script I whipped up this morning to give me some real time information on what my desktop’s load temperatures are. Please note that this requires lmsensors to be setup for your box.

#!/bin/bash
while : ;
do
     sleep 3
     clear
     sensors | grep Core
done

If you don’t have lmsensors setup, its pretty easy to do in Debian/Ubuntu

sudo apt-get install lm-sensors

And then run this to set it up:

sensors-detect

Edit: Our good friend Torben has very wisely pointed out that this could actually be much simpler using the watch command. Thanks Torben!

watch -n 3 “sensors|grep Core”