lm_sensors获取cpu温度

red hat linux 安装lm_sensors不成功提示,试了网上好多方法不成功

 You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-0.5.8-26.el6.x86_64 has missing requires of PackageKit-yum = ('0', '0.5.8', '26.el6')
PackageKit-0.5.8-26.el6.x86_64 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '26.el6')
rhn-check-1.0.0.1-43.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')

 解决问题:

更新所有的yum update 

再次安装成功 sudo yum install lm_sensors

https://blog.csdn.net/qishi_blog/article/details/80073021

虚拟机里面的效果 

[root@TestCenter Desktop]# sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:+100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 0:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 1:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 2:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 3:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  

coretemp-isa-0001
Adapter: ISA adapter
Physical id 1:+100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 0:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 1:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 2:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  
Core 3:       +100.0°C  (high = +100.0°C, crit = +100.0°C)  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值