Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Operating System»Linux»How To Check CPU Temperature On Linux

How To Check CPU Temperature On Linux

AnupBy AnupJune 20, 2022
linux cpu temperature

Your PC will automatically shut down if the CPU temperature reaches dangerous levels (usually 90°C+). But even if you don’t exceed this threshold, exposing your CPU to high temperatures can still cause damage in the long term.

So, if you regularly perform CPU-intensive tasks for extended periods, it’s a good idea to monitor the CPU temperature.

In this article, we’ve detailed how you can check the CPU Temperature on Ubuntu, as well as ways to lower the CPU temp and best practices.

Table of Contents

  • How to Check Ubuntu Linux CPU Temperature
    • Thermal Sysfs Interface
    • Lm-sensors
    • Psensor
    • Glances
    • Via BIOS
  • Normal and Maximum CPU Temperature
  • How to Lower CPU Temperature?
  • Related Questions
    • Is 93° C Too Hot For A CPU?
    • How to Check CPU Temp on Windows 11?
    • How Can I Check CPU Temperature Without Downloading Anything?

How to Check Ubuntu Linux CPU Temperature

As an example, we’ve listed methods for Ubuntu in the sections below, but you can apply them to most other Linux distros as well.

Thermal Sysfs Interface

The motherboard contains multiple thermal zone devices (sensors), such as the acpitz, which is located near the CPU socket, or x86_pkg_temp, which is embedded in the CPU itself. You can monitor the temperature readings from all these sensors with the following steps:

  1. Press CTRL + Alt + T to launch the Terminal and execute the following commands:
    cat /sys/class/thermal/thermal_zone*/temp
    cat /sys/class/thermal/thermal_zone*/type

    thermal-sysfs
  2. You can check which temperature reading corresponds to which sensor. Also, the readings will be output in millidegrees Celsius. So, 42000 m °C would be 42 °C.

Lm-sensors

Lm-sensors is an open-source tool used for monitoring system information such as CPU temperature and fan speed. Here’s how you can install and use this utility on Ubuntu:

  1. Execute the following commands in the terminal:
    sudo apt install lm-sensors
    /etc/init.d/kmod start
    sudo sensors-detect – auto
    sensors

    sudo-sensors-detect--auto
  2. You can also use the watch sensors command to get real-time CPU temperature data.
    sensors-ubuntu

Psensor

Psensor uses the lm-sensors package we installed earlier to display the CPU temperature in graphical form. Here’s how you can use this tool:

  1. Execute the following command in the terminal to install Psensor:
    sudo apt update
    sudo apt install psensor

    sudo-apt-install-psensor
  2. Once Psensor is installed, run it from the application launcher.
  3. Select the CPU temperature and any additional stats you want to monitor.
  4. From the top panel, select Sensor Preferences > Application Indicator.
  5. Select the CPU core and enable the Display Sensor in the label option.
    display-sensor-in-the-label-psensor

Glances

Glances is a popular system monitoring tool that uses a web-based interface, i.e., you can remotely monitor your machine’s stats from another device with Glances. Here’s how you can install and use this tool on Ubuntu:

  1. Execute any of the following commands to install Glances:
    sudo apt install glances
    $ curl -L https://bit.ly/glances | /bin/bash
    $ wget -O- https://bit.ly/glances | /bin/bash

    sudo-apt-install-glances
  2. Once it’s installed, run glances from the terminal and press F to view the CPU temp and other details.
    glances-ubuntu

Via BIOS

On most modern systems, you can also check the CPU temperature via the BIOS. But we recommend using the other methods if possible. Whatever CPU-intensive task you’re doing, you’ll have to stop it and restart your PC to access the BIOS. As such, you can’t use this method to get live readings during specific parts of the task.

With that said, here are the necessary steps if you’d like to try the BIOS method anyway:

  1. Restart your PC and press the BIOS Key (Fn keys or Del).
  2. Navigate to the Power or similar tab and look for the Hardware Monitor. The CPU temperature, along with other details, will be listed in this section.
    Check CPU temp BIOS

Normal and Maximum CPU Temperature

During typical usage, 70° C and anything lower is considered to be normal temperature. So, if your Linux CPU temperature falls in this range, you’re good!

During CPU-intensive tasks like gaming, video editing, or software compiling, the temperature can reach between 70°C to 80° C. This is still in the expected range, but if you regularly perform such tasks, it’s a good idea to start looking into ways to lower the CPU temperature for best performance and lifespan.

The 80° C to 90° C zone is where things get spicy. Typically this means some combination of an intensive task, overclocking, lack of cleaning, and subpar cooling systems, possibly even all. In this case, we recommend checking the section below so that you can take appropriate steps to lower the CPU temp.

Anything above 90° C is the danger zone. Most CPUs will automatically shut down the system when this threshold is exceeded. But even if it doesn’t shut down, it’s a bad idea to keep exposing the CPU to such temperatures. It is imperative that you take steps to lower the CPU temperature in this scenario. We’ve detailed how to do so in the section below.

How to Lower CPU Temperature?

Here are the most effective ways to lower the CPU temperature:

  • Clean your PC regularly. Pay special attention that there’s no dust accumulation on the heat sink and fans.
  • Ensure a few inches of space on all sides of your tower for ideal airflow. Adjust the cable management and fans inside the case to prioritize airflow.
  • Add or upgrade the fans for the CPU, PSU, Case, and Memory. Laptop users could use a laptop cooler instead.
  • Reapply thermal paste.
  • Tone down or stop overclocking, and maybe even underclock if necessary.
  • Upgrade to water-cooling.
  • Delid the CPU.

Related Questions

Is 93° C Too Hot For A CPU?

In most cases, a CPU should not be operating at anything above 90° C as this will likely damage the components in the long term. We’ve discussed in detail what the normal temperature should be, as well as how you can lower the CPU temperature in the article above.

How to Check CPU Temp on Windows 11?

You can check CPU temp on Windows 11 using a hardware monitoring tool of your choice. Our recommendation is to use MSI Afterburner, but there are also some other great tools like Core Temp, HWiNFO, or HWMonitor.

Although not ideal, you can also check the temperature via the BIOS. You’ll find the steps to do so in the guide above.

How Can I Check CPU Temperature Without Downloading Anything?

You can check the Linux CPU Temperature without downloading anything by accessing the Thermal Sysfs Driver via the terminal. And once again, although not ideal, you can also check the temperature via the BIOS. We’ve detailed both methods in the guide above.

how-to
Anup

I used to be a travel writer. Then I took an arrow in the knee.

Related Posts

CPU Bottlenecking My GPU

Is My CPU Bottlenecking My GPU?

June 18, 2022
does cpu affect fps

Does a CPU Affect FPS? (Detailed Guide)

June 17, 2022
how to limit cpu usage

How to Limit CPU Usage in Windows

June 15, 2022
how to tell if cpu is dead

How to Tell if CPU Is Dead?

June 14, 2022
how to increase cpu performance

7 Ways on How to Increase CPU Performance

June 9, 2022
how to change cpu cooler

How to Remove a CPU Cooler from Motherboard The Right Way

June 8, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
best real time strategy games

Best 11 Real-Time Strategy Games You Can Play

June 20, 2022
best skateboarding games

10 Best Skateboarding Games Ever Created

June 19, 2022
does graphics card affect fps

How Does Your Graphics Card Affect Your Gaming FPS?

June 19, 2022
You may also like
linux cpu temperature

How To Check CPU Temperature On Linux

June 20, 2022
how to transport a monitor

How to Transport a Monitor Safely in Your Car?

June 20, 2022
mouse side buttons not working

Mouse Side Buttons Not Working? Here’s How to Fix it 

June 20, 2022
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

October 25, 2021
Facebook Twitter Pinterest
  • Home
  • About Us
  • Privacy Policy
  • Affiliate Disclosure
© 2022 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.