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

What is the specific method of monitoring cpu temperature by Linux system?

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

In this issue, the editor will bring you about the specific methods of monitoring cpu temperature by Linux system. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.

The computer must generate heat when it is running, so how to check the temperature of the cpu in the Linux system? Xiaobian for you to share the Linux system to check the temperature of cpu specific methods.

First, install lm_sensors

[root@MPI_EXERCISE ~] # yum-y install lm_sensors

II. Configuration

[root@MPI_EXERCISE ~] # sensors-detect

Do you want to scan for them? This is totally safe. (YES/no): yes

Do you want to scan for Super I/O sensors? (YES/no): yes

This is normally safe. Do you want to scan for IPMI interfaces? (YES/no): yes

Do you want to scan the ISA I/O ports? (YES/no): yes

Do you want to probe the I2C/SMBus adapters now? (YES/no): yes

Next adapter: i915 gmbus ssc (i2c-0)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus vga (i2c-1)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus panel (i2c-2)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus dpc (i2c-3)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus dpb (i2c-4)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus dpd (i2c-5)

Do you want to scan it? (YES/no/selectively): yes

Now follows a summary of the probes I have just done.

Just press ENTER to continue:

Do you want to overwrite / etc/sysconfig/lm_sensors? (YES/no): yes

Starting lm_sensors: loading module coretemp [OK]

Unloading i2c-dev... OK

Third, check the temperature

[root@MPI_EXERCISE ~] # sensors

Acpitz-virtual-0

Adapter: Virtual device

Temp1: + 27.8 °C (crit = + 103.0 °C)

Temp2: + 29.8 °C (crit = + 103.0 °C)

Coretemp-isa-0000

Adapter: ISA adapter

Physical id 0: + 30.0 °C (high = + 82.0 °C, crit = + 102.0 °C)

Core 0: + 25.0 °C (high = + 82.0C, crit = + 102.0 °C)

Core 1: + 30.0 °C (high = + 82.0 °C, crit = + 102.0 °C)

The change of cpu temperature can be observed with watch sensors and updated every two seconds.

[root@localhost ~] # watch sensors

These are the specific methods of monitoring cpu temperature in Linux system shared by Xiaobian. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

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

Development

Wechat

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

12
Report