This article will show you how to monitor CPU temperatures in Linux. The title mentions AMD processors but this will work for Intel as well. There are two useful tools that work for all processors and almost all distributions of Linux.
What each sensor name means;
- Tdie: temperature of the dies
- Tctl: junction (Tj) temperature—the interface point between the die and heatspreader
Run Lm_Sensors with the sensors command in terminal.
Lm_Sensors (Linux-monitoring sensors) is a wonderful command-line utility to get a reading from your CPU temperature sensors. If you’d like to learn more about the functionality of lm-sensors check out this Arch Wiki 4 page.
Install using one of the following command in thermal.
sudo apt install lm-sensors
sudo apt-get install lm-sensors
sudo pacman -S lm_sensors
sudo dnf install lm_sensors
After you install lm_sensors fun the following command to scan your system for the available sensors to help you monitor CPU temps. To do this will you will need to be a root user. For most Linux distributions you will need to run the sudo -s command. If this doesn’t work for you look up the command for your respective distribution.
Warning: Be careful what you do as a root user. You can damage your system.
Psensor is a tool with a GUI interface that will provide more functionality when it comes to monitoring various sensors throughout your system.
- 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 CPU usage
Psensor is available in most pre-installed app store repositories.
sudo apt-get install lm-sensors hddtemp psensor