How To Check Laptop CPU Temperature In Ubuntu

check laptop temperature in Ubuntu 15.04

Overheating of laptops is a common issue one faces these days. Monitoring hardware temperature may help you to diagnose why laptop is getting overheated. In this article, we’ll see how to check CPU temperature in Ubuntu.

We are going to use a GUI tool Psensor that allows you to monitor hardware temperature in Linux. With Psensor you can:

  • monitor the temperature of the motherboard and CPU sensors
  • monitor the temperature of the NVidia GPUs
  • monitor the temperature of the Hard Disk Drives
  • monitor the rotation speed of the fans
  • monitor the CPU usage

Latest version of Psensor also provides applet indicator for Ubuntu and thus it makes the monitoring of hardware temperature even easier in Ubuntu. You can choose to display the temperature right in the top panel itself. It even sends a desktop notification when the temperature exceeds the limit.

How to install Psensor in Ubuntu 16.04 and 14.04

Before you install Psensor, you need to install and configure lm-sensors, a command line utility for hardware monitoring. If you want to measure hard disk temperature, you need to install hddtemp as well. To install these tools, run the following command in a terminal:

sudo apt-get install lm-sensors hddtemp

Then start the detection of your hardware sensors:

sudo sensors-detect

To make sure that it works, run the command below:


It will give you an output like:

Adapter: Virtual device
temp1: +43.0°C (crit = +98.0°C)

Adapter: ISA adapter
Physical id 0: +44.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +41.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +40.0°C (high = +100.0°C, crit = +100.0°C)

If everything seems alright, proceed with the installation of Psensor by using the command below:

sudo apt-get install psensor

Once installed, run the application by looking for it in Unity Dash. At first run, you should configure on what stats do you want to collect in Psensor.

Suggested read
3 Best Apps For Internet Streaming Radio On Ubuntu

configure psensor to measure temperature in Ubuntu

Display temperature in the panel

If you want to show the temperature in the top panel, go to Sensor Preferences:

show temperature in psensor ubuntu

Then under the Application Indicator menu, select the component for which you want to display the temperature and then check the Display sensor in the label option.

display temperature in top panel with psensor in Ubuntu

Start Psensor at each start up

Go to Preferences->Startup and the check Launch on session startup to start Psensor at each boot.


That’s it. All you need to monitor the CPU temperature is here. You can keep an eye on it and it may help you find out which process is overheating your computer.

Add comment

E-mail is already registered on the site. Please use the Login form or enter another.

You entered an incorrect username or password

Sorry that something went wrong, repeat again!


by Newest
by Best by Newest by Oldest

Thank youuuuuu !! you saved my life

I installed Psensor from the Ubuntu software centre. it works fine except the colour of all the graphs is black and I can't change them. Is there any fix for this. (I also did all the terminal commands mentioned in this post)

use your right mouse button on the black graphic, now you see the possible colours

Very helpful! Thank you!