How to get cpu temperature in ubuntu


How to get cpu temperature in ubuntu


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


System overheating creates a performance-related problem while performing on the laptop/computer. Hence, CPU temperature monitoring can assist you overcome the overheating issue by closing unnecessary system applications. this text covers the entire information on the way to check CPU temperature in Ubuntu Linux.

How to get cpu temperature in ubuntu

You can install sensors within the system to see CPU temperature in Ubuntu Linux. For this, open the command terminal and execute the subsequent 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 knowledge of sensors of CPU and hardware monitoring chips:

sudo sensors-detect

Finally, execute the below command to see CPU temperature and other details associated with it:


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


Use Psensor to see CPU Temperature in Ubuntu Linux It is required to configure lm-sensors before installing Psensor within the system. lm-sensors may be a hardware monitoring’s command-line utility, and you’ll also install hddtemp for measuring hard disc 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 form sure that it’s working correctly:

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


Adapter: Virtual device
temp1: +43.0°C (crit = +98.0°C)
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 subsequent command for installing Psensor within the system:


sudo apt install psensor
After installing Psensor within the system, run this application and configure it consistent with your requirements.

How to View hard disc Temperature?

In Linux, hard disks have a sensible built-in health-check tool that gives various options, like self-monitoring, analysis, reporting technology, etc. SMART also shows the small print regarding the disk’s failure in order that you’ll stay shielded from losing the info . This tool also helps you check the disk for any potential issues.


How to Check Temperature in Ubuntu Linux by i7z?
This instruction is employed to print CPU information on Intel core processors like i3, i5, and i7. it’s also used for reporting CPU temperature.

Execute the subsequent 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 subsequent command within the terminal:

sudo apt install nvme-cli.
After the successful installation, use the nvme command to get the list of NVMe devices:

sudo nvme list


Post a Comment for "How to get cpu temperature in ubuntu"