Discover the Easiest Way to Monitor Your CPU Temperature in Ubuntu Linux – It’s FOSS

4 min read

Is Your System Underperforming? It May be Throttling to Prevent High Temperatures

Is your high-performance hardware not performing as well as it should? The culprit could be your system throttling to keep the temperatures low.

CPU Temperature – How to Monitor it in Ubuntu

If your Ubuntu system suddenly becomes unresponsive, high CPU temperature could be the culprit. But how do you know if your CPU is heating up? Simply touching your computer won’t give an accurate temperature reading.

In this tutorial, I will share two ways to check the CPU temperature in Ubuntu: using a GUI tool and a command line method.

1. GUI Method: Use Psensor to Check CPU Temperature in Ubuntu

To monitor your CPU temperature in Ubuntu, you’ll need to install the Psensor utility and configure it to your needs. Here’s how to get started:

a) Install Psensor

To install Psensor, you’ll need to first install the lm-sensor package. Use the following command in your terminal:

sudo apt install lm-sensors psensor

Once the installation is complete, start the Psensor detection of hardware sensors by running the command:

sudo sensors-detect

It will prompt you to choose which sensors to include and exclude. It’s recommended to go with the defaults by pressing the enter key.

b) Using Psensor

That’s it! Now you can open Psensor from your system menu and it will display the temperature for each CPU core individually. It can even show the hard drive temperature.

You can also view all the sensor data in a graph format by selecting the hardware you want to monitor and dragging the window from the left to the center or right.

c) Display CPU Temperature in the Panel

You can configure Psensor to display the temperature of specific devices in the panel. To do this, click on the Psensor icon in your system panel and select “Sensor Preferences”. Then follow these 3 steps:

– Choose the sensor from which you want to project data on the panel.
– Go to the “Application Indicator” menu.
– Enable the “Display sensor in the label” option and hit “OK”.

d) Enable Psensor at System Boot

By default, Psensor won’t display the temperature in the panel when you reboot your system. To start it automatically at system boot, click on the Psensor icon in the system panel and select “Preferences”. Then click on the “Startup” menu and enable the “Launch on session startup” option.

2. Terminal Method: Monitor CPU Temperature with the Sensors Command

To check the CPU temperature in the terminal, you’ll need the same lm-sensors package used in the GUI method. If you don’t have it installed, you can do so with the following command:

sudo apt install lm-sensors

Once installed, you can use the watch command to monitor the CPU temperature in real time. Here’s how:

watch -n 2 sensors

This command will refresh the sensor data every 2 seconds. You can change the time frame by adjusting the “2” to your desired interval. For live monitoring, use “0” as the interval.

Additionally, if you want more detailed information about your CPU, you can use the lscpu command or install the CPUFetch tool for a visually appealing display.

Get More Information about Your CPU in Linux

Now you know how to monitor your CPU temperature in Ubuntu! But that’s not all. You can also get information about your CPU, such as its core information, frequency, and more. Here are two ways to do it:

1) Check CPU Information in Linux using lscpu

The lscpu command is a common and simple way to get CPU information in Linux. It will provide details about all the CPU cores on your system, such as real cores, logical cores, hyperthreading, and frequency. This command doesn’t require any additional packages to be installed.

2) Use CPUFetch to Display CPU Details in ASCII Format

If you want a more visually appealing way to view your CPU details, you can install the CPUFetch tool. It will display your CPU information in ASCII format in your terminal.

Conclusion

In this tutorial, you learned two ways to check the CPU temperature in Ubuntu – using a GUI tool and the terminal. You also discovered how to display CPU information using the lscpu command and the CPUFetch tool. Keep an eye on your CPU temperature to ensure optimal performance on your high-end hardware.

Source: https://news.google.com/rss/articles/CBMiOGh0dHBzOi8vaXRzZm9zcy5jb20vY2hlY2stbGFwdG9wLWNwdS10ZW1wZXJhdHVyZS11YnVudHUv0gEA?oc=5

You May Also Like

More From Author

+ There are no comments

Add yours