Your CPU works hard. It handles your apps, games, and everything you do on your Linux system. But just like anything that works too hard, it can overheat. Keeping an eye on its temperature is important.
Luckily, Linux provides several ways to track CPU temperature. In this guide, we’ll explore some simple and fun ways to do it.
Why Should You Monitor CPU Temperature?
Before we dive in, let’s understand why CPU temperature monitoring matters:
- Prevents Overheating: Excess heat can slow down or even damage your system.
- Detects Cooling Issues: If the temperature is high, your fan or cooling system might not be working properly.
- Optimizes Performance: Keeping your CPU cool helps it run at peak efficiency.
Now, let’s look at some of the easiest ways to track CPU temperature on Linux!
1. Using lm-sensors
lm-sensors is one of the most popular tools to check CPU temperature. It’s easy to install and use.
Step 1: Install lm-sensors.
sudo apt install lm-sensors # For Debian/Ubuntu sudo yum install lm_sensors # For Fedora sudo pacman -S lm_sensors # For Arch Linux
Step 2: Detect sensors.
sudo sensors-detect
Follow the on-screen instructions. It will scan your system for available sensors.
Step 3: Check CPU temperature.
sensors
It will show something like this:
Core 0: +45.0°C Core 1: +43.5°C Core 2: +44.0°C Core 3: +42.5°C
There you have it! You can now track CPU temperature in real-time.

2. Using psensor – A GUI Alternative
If you prefer a graphical interface, Psensor is a great choice. It gives you a visual representation of temperature changes.
Step 1: Install Psensor.
sudo apt install psensor # For Debian/Ubuntu
For other Linux distributions, check the package manager for availability.
Step 2: Launch Psensor.
psensor
You’ll see a simple GUI with real-time graphs of CPU temperature, fan speed, and other system stats.
3. Using Hardinfo
Another useful tool is Hardinfo. It’s a great system profiler that also shows temperature data.
Step 1: Install Hardinfo.
sudo apt install hardinfo # For Debian/Ubuntu
Step 2: Open Hardinfo.
hardinfo
Go to Sensors under the Devices tab. You’ll find CPU temperature readings there.
4. Using CPU Temperature in GNOME System Monitor
If you’re using a GNOME-based desktop, you can add temperature monitoring through an extension.
Step 1: Install the GNOME Sensors extension.
Step 2: Enable it from the GNOME Extensions app.
Now, you can check the CPU temperature right from your GNOME dashboard.

What’s a Safe CPU Temperature?
Wondering what temperature is too hot? Here’s a quick guide:
- Normal: 30°C – 50°C (Idle)
- Moderate: 50°C – 70°C (Under Load)
- High: 70°C – 85°C (May cause throttling)
- Danger: 85°C+ (Risk of system damage!)
If your CPU is always hot, check your cooling system, clean dust, and improve ventilation.
Final Thoughts
Monitoring your CPU temperature on Linux is easy! Whether you prefer the command line or a graphical tool, there’s an option for everyone.
Choose the method that works best for you and keep your system running cool.
Happy monitoring!
