How to check the notebook CPU temperature in Ubuntu
When summer is over, laptop overheating is a common problem recently. Monitoring the hardware temperature may help you diagnose why your notebook is overheated. In this article, we will learn how to check the CPU temperature in Ubuntu.
We will use a GUI tool Psensor that allows you to monitor the hardware temperature in Linux. With Psensor, you can:
- Monitor cpu and motherboard Temperature
- NVidia GPU monitoring documentation
- Monitor hard disk temperature
- Monitor fan speed
- Monitor CPU usage
The latest version of Psensor also provides indication Applets in Ubuntu, making it easier to monitor the temperature in Ubuntu. You can choose to display the temperature in the upper-right corner of the Panel. It will also be notified after the temperature threshold is exceeded.
How to install Psensor in Ubuntu 15.04 and 14.04
Before installing Psensor, you need to install and configure lm-sensors, a command line tool for Hardware monitoring. If you want to measure the disk temperature, you also need to install hddtemp. To install these tools, run the following commands:
sudo apt-get install lm-sensors hddtemp
Then we started to detect hardware sensors:
sudo sensors-detect
To make sure that the job is already running, run the following command:
sensors
It will give the following output:
acpitz-virtual-0
Adapter:Virtual device
temp1:+43.0°C (crit =+98.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:+44.0°C (high =+100.0°C, crit =+100.0°C)
Core0:+41.0°C (high =+100.0°C, crit =+100.0°C)
Core1:+40.0°C (high =+100.0°C, crit =+100.0°C)
If everything looks okay, run the following command to install Psensor:
sudo apt-get install psensor
After the installation is complete, run the program in Unity Dash. During the first running, you should configure the monitoring status of the Psensor.
Display temperature on the panel
If you want to display the temperature in the panel, enter Sensor Preferences:
Under the Application Indicator menu, select the component you want to Display the temperature and check the Display sensor in the label option.
Start Psensor every time
Go to Preferences-> Startup and select Launch on session startup to enable Psensor at each Startup.
That's it. All you have to do is monitor the CPU temperature here. You can always pay attention to and help you find out the processes that make your computer overheated.