Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to monitor and adjust the machine temperature under the Linux system

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to monitor and adjust the machine temperature under the Linux system". In the daily operation, I believe that many people have doubts about how to monitor and adjust the machine temperature under the Linux system. The editor consulted all kinds of data and sorted out a simple and easy-to-use operation method. I hope it will be helpful to answer the doubts about "how to monitor and adjust the machine temperature under the Linux system". Next, please follow the editor to study!

Install tp-fancontrol and limit the temperature of gpu

Temperature of ubuntuCPU cat / proc/cpuinfo

The temperature of the graphics card has a sensor applet, which can be displayed even if installed.

Run cpufreq-info in the terminal to view CPU information

Sudo cpufreq-selector-c cpu number

Or sudo cpufreq-set-c cpu number

Select the CPU to adjust (because you may have more than one CPU on your computer)

Sudo cpufreq-selector-f the frequency you need

Or sudo cpufreq-set-f the frequency you need.

Adjust the cpu frequency, note that the frequency here must be in KHz and is reachable (that is, the frequencies you can see with cpufreq-info)

Also OK

Sudo cpufreq-selecotr-g mode

Or

Suod cpufreq-set-g mode

Here, the pattern is the supported pattern that you see after executing the cpufreq-info.

For example, the following: powersave, userspace, ondemand, conservative, performance.

Powersave is the so-called "power saving" mode that will only keep the lowest frequency in any case.

Userspace, which is the mode when you customize the frequency, which changes automatically when you set a specific frequency

Ondemand, as soon as there is a task with a large amount of cpu computation, it will run at the maximum frequency immediately, and return to the lowest frequency immediately after execution.

Conservative, translated into conservative, that is, the default mode, generally choose this, will automatically adjust the upper and lower limits of the frequency.

Performance, as its name implies, focuses only on efficiency and keeps running at maximum frequency anyway.

Tools:

Lm-sensors sensors-applet

Manually configure the sensor sudo sensors-detect

View the added module less / etc/modules

Other monitoring software:

Xsensors ksensors

Gdesklets gkrellm

Hard disk monitoring hddtemp

At this point, the study on "how to monitor and adjust the machine temperature under the Linux system" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report