请问下,华为欧拉自身的sensors包命令是不是自己改过啊,为什么不能显示出cpu的问题,我在其他系统比如centos下都能显示出温度的。
centos下可以显示cpu的温度
我在24.03的arm和x86服务器上分别进行了测试。
lm_sensors版本都是3.6.0-8.oe2403
arm上不显示cpu温度
[root@localhost ~]# sensors
acpitz-acpi-0
Adapter: ACPI interface
temp1: +46.1°C
temp2: +47.8°C
[root@localhost ~]# sensors
acpitz-acpi-0
Adapter: ACPI interface
temp1: +46.1°C
temp2: +47.8°C
[root@localhost ~]#
x86上能正常显示cpu温度:
[root@localhost ~]# sensors
coretemp-isa-0001
Adapter: ISA adapter
Package id 1: +53.0°C (high = +90.0°C, crit = +100.0°C)
Core 0: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 1: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 2: +53.0°C (high = +90.0°C, crit = +100.0°C)
Core 3: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 4: +48.0°C (high = +90.0°C, crit = +100.0°C)
Core 5: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 6: +49.0°C (high = +90.0°C, crit = +100.0°C)
Core 7: +49.0°C (high = +90.0°C, crit = +100.0°C)
Core 8: +51.0°C (high = +90.0°C, crit = +100.0°C)
Core 9: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 10: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 11: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 12: +51.0°C (high = +90.0°C, crit = +100.0°C)
Core 13: +50.0°C (high = +90.0°C, crit = +100.0°C)
Core 14: +48.0°C (high = +90.0°C, crit = +100.0°C)
Core 15: +47.0°C (high = +90.0°C, crit = +100.0°C)
power_meter-acpi-0
Adapter: ACPI interface
power1: 408.00 W (interval = 1.00 s)
所以这个问题应该是和lm_sensor无关,应该是驱动或者硬件不支持吧
谢谢,跟服务器硬件无关,可能是软件包或者其他问题,我重装了其他版本的欧拉系统,是可以显示cpu温度的
我也遇到了同样的问题,24.04 LTS x86也不显示cpu的温度
[root@localhost ~]# sensors
k10temp-pci-00c3
Adapter: PCI adapter
Tctl: +38.8°C
i350bb-pci-0700
Adapter: PCI adapter
loc1: +37.0°C (high = +120.0°C, crit = +110.0°C)
i350bb-pci-0900
Adapter: PCI adapter
loc1: +34.0°C (high = +120.0°C, crit = +110.0°C)
抱歉,我物理机上还没有安装过24.03 正在制作自定义的24.03的欧拉镜像,定制以后我将安装到物理机上,过段时间将再回复你