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

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.

Hi there! I’m Kiran Kumar, founder of FOSSLinux.com. I’m an avid Linux lover, and enjoys hands-on with new promising distros. Currently, I’m using Linux Mint as a daily driver and run several other distros such as Fedora, Solus, Ubuntu, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I’m not writing for FOSSLinux, I’m seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread my love for Linux. If you find time, drop me an email or feedback from ‘Contact’ page. Or simply leave a comment below if you found this article useful. Have a good day!

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz