centos 7查看CPU温度

  以下操作亲测可用,centos 7  64位

1.确定系统是不是64位

uname -p
x86_64

2.安装和配置工具包

#安装包
yum install lm_sensors -y

#配置
sh -c "yes|sensors-detect"

#加载模块
modprobe i2c-dev
modprobe coretemp 

3. 命令行查看CPU温度

sensors


输出类似
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +32.0°C  (high = +88.0°C, crit = +98.0°C)
Core 0:        +31.0°C  (high = +88.0°C, crit = +98.0°C)
Core 1:        +30.0°C  (high = +88.0°C, crit = +98.0°C)
Core 2:        +32.0°C  (high = +88.0°C, crit = +98.0°C)
Core 3:        +30.0°C  (high = +88.0°C, crit = +98.0°C)
Core 4:        +31.0°C  (high = +88.0°C, crit = +98.0°C)
Core 8:        +32.0°C  (high = +88.0°C, crit = +98.0°C)
Core 9:        +29.0°C  (high = +88.0°C, crit = +98.0°C)
Core 10:       +30.0°C  (high = +88.0°C, crit = +98.0°C)
Core 11:       +29.0°C  (high = +88.0°C, crit = +98.0°C)
Core 12:       +30.0°C  (high = +88.0°C, crit = +98.0°C)

 

参考:

https://blog.slogra.com/post-591.html

posted on 2021-05-13 10:03  omage  阅读(1293)  评论(0编辑  收藏  举报