Aug 8, 2014

Watch and monitor your system temperatures on Linux

Maybe you overclock, maybe you don't or maybe you just simply use a laptop. Monitor your system temperature's. monitor your CPU temp, GPU temp, monitor your fan RPM’s etc. First, lets install the package that can do all this. So fire up a terminal and type:

sudo apt-get install lm-sensors

Once installed, you need to detect the chips that monitor temperature's on your motherboard. No, it's not complex but another lame process as follows. In your terminal, type again:

sudo sensors-detect

It will ask you whether you want to load a particular sensor <Y/n>
Keep pressing Y and continue till the end. Once you completed the queries, you will need to reboot.

On a reboot, open your terminal and type:
sensors

You will see a bunch of output, showing you voltages and temperatures. Now lets say you want to monitor the temperature fluctuations in Real-Time. This can be achieved by a simple trick. As usual fire up a terminal and type:

watch -n 1 sensors

The above command will show you real time monitoring of your temperature fluctuation. Ok, let's say you want a graphical front-end to view your temperatures. No problem. Just download and use xsensors:

sudo apt-get install xsensors

This will install the package. Open it up and it will show you all the temperatures from the sensors on your motherboard. 












How is temperature monitoring useful?
Lets say you are an overclocker or maybe you’re not, doesn't matter. If you are into computing and gaming and use your computer for development or 3D design and modelling, chances are your CPU and GPU will most probably heat up. If you have a tight case without exhaust fans, your components will wear out fast as they will pass their heat tolerance threshold. Depending on how hot it is, your system can last anywhere between 1 to 10 years.