#yum install lm_sensors
#sensors-dectect
发现启动失败,主要是因为需要依赖内核模块 coretemp
#modprobe coretemp
#uname -a
Linux 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
找到内核版本号,原来只有 2.6.22 才内置了该模块。
Google找到一个可用模块
wget http://www.cs.vsu.ru/~raskhozhev/files/dkms-coretemp-1.00-1.noarch.rpm
下载后安装即可。
[root@server neil]# modinfo coretemp
bash: modinfo: command not found
[root@server neil]# /sbin/modinfo coretemp
filename: /lib/modules/2.6.18-194.3.1.el5/extra/coretemp.ko
license: GPL
description: Intel Core temperature monitor
a

本文介绍了如何在CentOS服务器上安装lm_sensors来监控系统温度。由于内核版本问题,需要手动下载并安装coretemp模块。通过yum安装lm_sensors,加载coretemp内核模块,然后使用sensors命令查看CPU及系统各部件的温度。
最低0.47元/天 解锁文章
4788

被折叠的 条评论
为什么被折叠?



