Categories: Ubuntu

CPU Temperature in Ubuntu Linux

The temperature of the CPU/GPU depends upon the applications or programs that run in its system. If your device’s compatibility is not high, then your system may face an overheating issue. This system overheating issue occurs when the system’s temperature exceeds a specific limit.

System overheating creates a performance-related problem while working on the laptop/computer. Hence, CPU temperature monitoring can help you overcome the overheating issue by closing unnecessary system applications. This article covers the complete information on how to check CPU temperature in Ubuntu Linux.

How
Sponsored
to Check CPU Temperature in Ubuntu Linux?

You can install sensors in the system to check CPU temperature in Ubuntu Linux. For this, open the command terminal and execute the following command in it:

$ sudo apt-get install lm-sensors

In case the system doesn’t have sensors installed, these sensors will start downloading after the successful execution of the above command.

Now, use the command below to detect the system’s hardware monitoring chips. This command would give the information of sensors of CPU and hardware monitoring chips:

sudo sensors-detect

Finally, execute the below command to check CPU temperature and other details related to it:

Sensors

You can also execute the watch -n2 sensors command to display the temperature-related details continuously.

Use Psensor to Check CPU Temperature in Ubuntu Linux

It is required to configure lm-sensors before installing Psensor in the system. lm-sensors is a hardware monitoring’s command-line utility, and you can also install hddtemp for measuring hard disk temperature.

Open the Linux terminal and execute the command below for installing lm-sensors and hddtemp:

sudo apt install lm-sensors hddtemp

After executing the above command, use the detection command to detect the hardware sensors:

sudo sensors-detect

Use the Sensors command to make sure that it is working correctly:

Sponsored
Sensors

Once you execute the sensor command, you will receive a result like this:

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)
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)

Now run the following command for installing Psensor in the system:

sudo apt install psensor

After installing Psensor in the system, run this application and configure it according to your requirements.

How to View Hard Disk Temperature?

In Linux, hard disks have a SMART built-in health-check tool that offers various options, such as self-monitoring, analysis, reporting technology, etc. SMART also shows the details regarding the disk’s failure so that you can stay protected from losing the data. This tool also helps you check the disk for any potential issues.

How to Check Temperature in Ubuntu Linux by i7z?

This command line is used to print CPU information on Intel core processors like i3, i5, and i7. It is also used for reporting CPU temperature.

Execute the following command for installing on Ubuntu:

sudo apt install i7z

How to Check Temperature of NVMe SSD in Ubuntu Linux?

For monitoring the temperature of Nvme ssd, execute the following command in the terminal:

sudo apt install nvme-cli.

After the successful installation, use the nvme command to obtain the list of NVMe devices:

sudo nvme list.

Conclusion

In this article, we have collected complete details on how to check CPU temperature in Ubuntu Linux by multiple procedures. As we have explained, system overheating can cause various issues in the performance of your system, so it is essential to monitor the system’s temperature. You can easily use these procedures without any errors because all of these procedures are tried and tested on different systems, and hence are safe to execute.

Ubuntu Server Admin

Recent Posts

How to Fix VMware’s “Could not open /dev/vmmon” Error on Ubuntu

You’ve recently installed VMware Workstation on your Ubuntu system and encountered the frustrating “Could not…

4 hours ago

How to Fix Ubuntu 404 Errors While Fetching Dependencies

Have you ever found yourself staring at a terminal full of 404 errors while trying…

4 hours ago

How to Fix ‘Please Install All Available Updates’ Error When Upgrading Ubuntu 18.04 to 20.04 LTS

One particularly frustrating error that many users face when trying to upgrade from Ubuntu 18.04 …

4 hours ago

How to fix “Release is not valid yet” Error in Docker Containers

In the world of containerization, time synchronization issues can create unexpected roadblocks when working with…

4 hours ago

How to fix “Externally Managed Environment” Pip Errors on Ubuntu

If you’ve recently upgraded to Ubuntu 23.04 or newer, you might have encountered a frustrating…

4 hours ago

Ubuntu now officially supports NVIDIA Jetson: powering the future of AI at the edge

Canonical announces the General Availability of Ubuntu for the NVIDIA® Jetson Orin™ for edge AI…

11 hours ago