
That was a summary of how you can monitor the temperature of your CPU cores, hard drive and other components attached to the motherboard. To do so, execute the command: $ sudo hddtemp /dev/sdaįinally to get real-time monitoring data in the terminal, run the command: $ watch sensors We can also display the temperature of the hard drive using the hddtemp command. The output above shows the temperature of all the various hardware components. Now, to check the temperature of various devices including the CPU cores and other adapters, run the sensors command as shown. Now, we need to load the modules needed to ensure that the system monitoring works. There is a disclaimer to load the needed modules for monitoring programs. Once the scanning is completed, we can see the summary of the process. Type ‘ Yes’ for all the scanning prompts until the system scan is complete. To detect laptop hardware sensors run the command: $ sudo sensors-detect Next, we need to detect which system components we can monitor in our machines. Next, install the sensor packages as follows : $ sudo apt install hddtemp lm-sensors Detect Hardware monitoring chips To start off, update the package lists on your system as follows.
Ubuntu check temperature how to#
How to install lm_sensor and hddtemp packages For demonstration, we will use Ubuntu 20.04.

This guide walks you through the installation & usages of l lm_sensors and hddtemp packages to monitor CPU temperature. In Linux, you can monitor the temperature of your hardware components using the lm_sensors and hddtemp packages In critical scenarios, the PC shuts down to mitigate any further risks such as destruction of the motherboard components.Īs such, constant monitoring is a priority especially if you are running an old PC or a PC with inadequate ventilation.

Overheating can slow down your PC, and significantly slow down applications and processes.

High CPU temperatures account for one of the many risk factors that can adversely impact your PC.
