4 Useful Tools to Monitor CPU and GPU Temperature in Ubuntu


Ubuntu is one of most popular and widely used Linux distributions. It is known for its simplicity, reliability, and performance. However, like any other operating system, Ubuntu is not immune to overheating issues. Overheating can lead to a number of problems, such as decreased performance, system crashes, and even hardware damage. Therefore, it is important to monitor temperature of your CPU and GPU regularly to prevent such issues from occurring. In this article, we will introduce you to 4 useful tools to monitor CPU and GPU temperature in Ubuntu.

lm-sensors

lm-sensors is a command-line tool that allows you to monitor temperature, voltage, and fan speed of your CPU, GPU, and other system components. It is a powerful tool that can provide detailed information about your system's hardware. To install lm-sensors, open terminal and type following command −

sudo apt-get install lm-sensors

Once installed, you can use following command to detect sensors on your system −

sudo sensors-detect

Follow on-screen instructions to configure lm-sensors for your system. After configuration process is complete, you can use following command to display temperature readings −

sensors

lm-sensors provides a lot of information, so it may take some time to get used to it. However, it is a very useful tool for monitoring CPU and GPU temperature in Ubuntu.

Psensor

Psensor is a graphical tool that displays temperature readings of your CPU, GPU, and other system components in real-time. It is a simple and easy-to-use tool that can help you monitor temperature of your system without having to use command-line. To install Psensor, open terminal and type following command −

sudo apt-get install psensor

Once installed, you can launch Psensor from Applications menu. Psensor displays temperature readings in system tray. You can click on icon to view detailed temperature readings.

Psensor also allows you to set up temperature alerts. You can configure Psensor to notify you when temperature of your CPU or GPU reaches a certain threshold. This can be very useful for preventing overheating issues.

Gnome System Monitor

Gnome System Monitor is a graphical tool that provides detailed information about processes running on your system. It also displays CPU and GPU usage and temperature in real-time. To launch Gnome System Monitor, open Activities menu and search for "System Monitor". Click on icon to launch tool.

Once launched, you can click on "Resources" tab to view CPU and GPU usage and temperature. temperature readings are displayed in a graph, which allows you to monitor temperature over time.

Gnome System Monitor is a very useful tool for monitoring CPU and GPU temperature in Ubuntu. However, it does not provide as much information as lm-sensors or Psensor. It is more focused on displaying system's resource usage.

Conky

Conky is a lightweight system monitor that displays system information on desktop. It can display a wide range of information, including CPU and GPU temperature. Conky is highly customizable, which allows you to configure it to display information that is most important to you.

To install Conky, open terminal and type following command −

sudo apt-get install conky-all

Once installed, you can launch Conky by typing "conky" in terminal. Conky displays system information on desktop in real-time. You can customize appearance of Conky by editing configuration file.

Conky is a very powerful tool for monitoring CPU and GPU temperature in Ubuntu. However, it is more suitable for advanced users who are comfortable with editing configuration files.

In addition to four tools we've discussed, there are a few more options available for monitoring CPU and GPU temperature in Ubuntu. Let's take a look at some of them −

Hardinfo

Hardinfo is a system information and benchmarking tool that can also display real-time CPU and GPU temperature. To install Hardinfo, open a terminal and type following command −

sudo apt-get install hardinfo

Once Hardinfo is installed, you can launch it from applications menu. To view your CPU and GPU temperature, click on "Sensors" tab in Hardinfo window.

Nvidia System Monitor

If you have an Nvidia graphics card, you can use Nvidia System Monitor to monitor your GPU temperature. Nvidia System Monitor is a graphical tool that provides real-time GPU temperature information, as well as other performance data.

To install Nvidia System Monitor, open a terminal and type following command −

sudo apt-get install nvidia-settings

Once Nvidia System Monitor is installed, you can launch it from applications menu. To view GPU temperature, click on "GPU 0" tab in Nvidia System Monitor window.

Htop

Htop is a command-line tool that provides detailed information about processes running on your system. It also allows you to monitor CPU and GPU temperature. To install Htop, open a terminal and type following command −

sudo apt-get install htop

Once Htop is installed, you can launch it by typing "htop" in a terminal. To view CPU and GPU temperature, press "F2" key to open setup menu, then navigate to "Columns" section and select "CPU temp" and/or "GPU temp".

Conclusion

In conclusion, monitoring temperature of your CPU and GPU is essential to prevent overheating issues that can lead to decreased performance and even hardware damage. In this article, we have introduced you to 4 useful tools to monitor CPU and GPU temperature in Ubuntu. lm-sensors is a powerful command-line tool that provides detailed information about your system's hardware. Psensor is a simple and easy-to-use graphical tool that displays temperature readings in real-time. Gnome System Monitor is a graphical tool that provides detailed information about processes running on your system, including CPU and GPU temperature. Finally, Conky is a lightweight system monitor that displays system information on desktop and is highly customizable. Choose tool that best suits your needs and keep your system cool and running smoothly.

Updated on: 31-Mar-2023

13K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements