• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Welcome to iHelpForum - the place to get help from knowledgeable techs in all areas of Tech, Home and Auto help. Consider checking out our Guides or Registering an account to post on our forums today.

Checking Your Temperatures In Linux

In this guide i will show you how to check your temperatures in Linux. This works on all Debian based Linux distros. You will need to install two packages to read your temps. These are: lm-sensors and hddtemp. To install them type this into a terminal:
sudo apt-get install lm-sensors hddtemp
And type in your password when prompted. Once they've installed run this command:
sudo sensors-detect
and type in you password when prompted. This command scans your computer for any sensors it can find. It will ask you whether you want to scan for different types of sensors. Say yes to all these questions. When it's done it will show a list of drivers that are needed for the sensors that it finds. It will ask if you want to add these drivers to your "/etc/modules" file. Say yes here. Now when you type in this command:
sudo sensors
And type in your password when prompted. It should display the temperatures of all the sensors it found as well as any fan speed sensors.

To use hddtemp just simply run this command (and type in your password when prompted.) and it should display the temperature of your hard disk:
sudo hddtemp /dev/sda
Note: This part "/dev/sda" might be different on your computer. If "sda" doesn't work try "hda". Also if you have multiple hard drives then to check you second one replace "sda" with "sdb". Linux orders hard drives alphabetically so your first hard drive would be "sda" your second would be "sdb" your third "sdc" and so on.

And thats all there is to it.
First release
Last update
0.00 star(s) 0 ratings

More resources from apemax