Signup/Sign In
LAST UPDATED: AUGUST 31, 2021

How To Monitor CPU and GPU temperatures in Ubuntu Linux

    Keeping your CPU power at the highest level is very important for the smooth running condition of your system. Overheating can also be detrimental to your PC and if not kept in check, it may damage other motherboard components. Modern PCs usually have a sound insulation system that adjusts the temperature setting and prevents overheating.

    The same cannot be said of older systems that have been rejected by the system may not work properly. In addition, high temperatures may be due to blocked ventilation holes and sometimes run multiple applications with high power. In this guide, we will explore different ways to determine CPU and GPU temperatures in Ubuntu.

    One of the most common complaints is hot laptops, especially older models. Laptops are easily connected together. So there is less space for air travel on thin laptops. If your laptop overheats, it may cause some damage to your body as well as hardware. So hardware lookup is important. By our tutorial, you will learn how to check the CPU status of Ubuntu Linux.

    Tools for CPU and HDD Temperature monitoring in Ubuntu:

    Perform a command sensor to determine CPU temperature on Ubuntu Linux. CPU or GPU temperature depends entirely on the use of the program or application. Computer effects such as CPUs have unlimited life and run them at temperatures that are too high (or at a higher level overall) can reduce it. Besides, it can also cause burns even when the supporter is not providing enough cooling.

    Therefore, it is important to monitor the CPU status of your system to avoid damaging it due to overheating. In our article, we will share some useful regulatory tools to help you keep an eye on the exact temperatures of your CPU and GPU.

    1. Glances

    Glances is a cross-platform, high-performance monitoring tool that uses a psutil library to organize information from a variety of sources. It can display information from the sensor using a psutil tool and / or hddtemp. One of its awesome features is the webserver mode which allows you to access it from a web browser to monitor your Linux server. There are different ways to install Glances on your system, but the best way to install glances is to use a subscription script, which will add a new type of output.

    To install Glances on your system, use the curl or wget command.

    curl -L https://bit.ly/glances | / bin / bash

    Or

    wget -O- https://bit.ly/glances | / bin / bash

    Once installed, launch Glances and press keys to view sensor information.

    CPU and GPU temperatures in Ubuntu Linux

    2. Sensors

    The sensor is a simple set line that displays the current reading of all sensor components including the CPU. It comes to add some Linux servers like Ubuntu by default, but not install it.

    CPU and GPU temperatures in Ubuntu Linux

    $ sudo apt-get install lm-sensor

    Then you can run the next command to check all the sensors in your system.

    $ sudo sensor-detector

    Once detected, you can turn on the following command to check CPU status, GPU status, speed, voltage.

    3. Hardinfo

    Hardinfo is a lightweight profile system and benchmark tool designed for hardware analysis and reporting generation. It displays detailed reports on the operating system hardware and allows for the generation of HTML reports on your system hardware.

    To install the hardinfo package on your Ubuntu Linux operating system, perform the following commands.

    $ sudo apt install hardinfo

    After the process of installation is complete, you can start hardinfo to view the device information by performing the following commands.

    $ hardinfo -rma devices.so

    CPU temperature in Ubuntu Linux

    To start the GUI application, follow the next command or search for ‘System Profiler and Benchmark’ in the System or Dash menu and open it.

    $ hardinfo

    Then click on the sensor to view the sensor information as these results.

    4. i7z

    i7z is a low-power processor that reports Intel Core i7, i5, i3 CPU plus temperature. You can also install it on your Ubuntu system by entering the following command.

    $ sudo fits i7z

    Once it's been installed, run i7z with root privileges.

    $ sudo i7z

    Note:

    When your CPU / processor is idle or when there is a small load on it, the temperature should be low. If the temperature is high during the off-season, it indicates heating. Low temperature is not useful in various processing systems and types of machines. It is different for a desktop compared to a laptop.

    Check out your scheduling process and look for vending books for more details. See also congregations that support different hardware. In my system, the temperature is 50-55 C even when the CPU is idle. This shows some problems.

    CPU overheating - How to fix it?

    The overheating problem is mostly related to the CPU and its fan. Clean the fan in a warm place and make sure there is no dust and cold is working properly.

    Just clean the surface of the heating element and the processor to make sure there is a good contact for the heater to transfer. If there are any loose pieces it can create an unhealthy texture that will clean it up. Do it all and then check the temperature again. If the heat problem persists, take it to a professional.

    Conclusion

    Apart from this, you can also try using TLP and thermald, which can help you to control CPU status on Linux. CPU feqs another tool that can help you save battery and reduce the amount of laptop power that works well with Ubuntu. A few years before I used Conky which is a lightweight desktop scanner that can show stats of CPU, memory, storage space, disk storage, temperature, system, face recognition, battery power, etc.

    If you want to check the temperature without a third device, look at

    / sys / device / virtual / thermal / thermal_zone1 / temp file.

    You may also like:

    IF YOU LIKE IT, THEN SHARE IT
    Advertisement

    RELATED POSTS