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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2020/12/echo/word-image-238.png" data-lazy- height="287" src="data:image/svg xml,” width=”601″>

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2020/12/echo/word-image-239.png" data-lazy- height="159" src="data:image/svg xml,” width=”577″>

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:

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2020/12/echo/word-image-240.png" data-lazy- height="399" src="data:image/svg xml,” width=”605″>

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:

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

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:

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

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2020/12/echo/word-image-241.png" data-lazy- height="228" src="data:image/svg xml,” width=”641″>

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.

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2020/12/echo/word-image-242.png" data-lazy- height="326" src="data:image/svg xml,” width=”639″>

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:

<img data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2020/12/echo/word-image-243.png" data-lazy- height="413" src="data:image/svg xml,” width=”635″>

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:

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.

About the author

<img alt="Simran Kaur" data-lazy-src="https://kirelos.com/wp-content/uploads/2020/12/echo/IMG_9137-150×150.jpg5fde14511f91b.jpg" height="112" src="data:image/svg xml,” width=”112″>

Simran Kaur

Simran works as a technical writer. The graduate in MS Computer Science from the well known CS hub, aka Silicon Valley, is also an editor of the website. She enjoys writing about any tech topic, including programming, algorithms, cloud, data science, and AI. Travelling, sketching, and gardening are the hobbies that interest her.