How to know the Hard disk and CPU temperatures in elementary OS

Knowing the hard disk and CPU temperatures is one of the best ways to determine how smooth your PC is performing. Hard disk temperatures play a vital role in determining the life of the hard disk. It is also equally important to check the CPU temperature as well, especially on older PCs and laptops to know if the cooling is efficient or not. If fan is not working or the air vent outlets are blocked, the temperatures could go high and damage the CPU. Let’s see how to get these temperatures fished out on the elementary OS.

elementary os

Add Canonical Partners Repository

First thing to do is enable the canonical partners repository.

Launch ‘Software Updater’ and wait for it to scan the updates.

Launch Software Updater

Launch Software Updater

Then click on ‘Settings’ to open the Software Updater settings.

Software Update Settings

Software Update Settings

In the software tab, check the box that says ‘Canonical Partners’ ‘Software packaged by Canonical for their partners’. You will be asked to enter the administrator password and then agree to reload so that it downloads the update from the just added new repository.

Turn ON Canonical Partners Repository Soruces

Turn ON Canonical Partners Repository Soruces

Find out Hard disk Temperature in elementary OS

Install hddtemp using the following apt-get command:

sudo apt-get install hddtemp

Now type the following command to get the hard disk temperature. Note that if you have SSD installed, there is a high chance that sensor is not available. SSDs don’t have moving parts, so manufacturer’s don’t install sensors on it. If you have a traditional hard disk, you will surely see the temperature in deg C.

sudo hddtemp /dev/sda

Find out CPU Temperature in elementary OS

Install lm sensors using apt-get command:

sudo apt-get install lm-sensors

Next enter this command for detecting the temperatures:

sudo sensors-detect

Start the kmod service using the following command. You will have to enter ‘Y’ several times.

sudo service kmod start

sensors

You should be able to see the temperature of CPU now.

Leave a comment

Your email address will not be published. Required fields are marked *