Centos5.3 安装 lm_sensors 温度监控
1.下载 lm_sensors
查找 Linux 上有没有安装 sensors
[root@servert02haitao ~]# rpm -qa |grep sensors (默认已经安装)
没有的话安装
[root@servert02haitao ~]# yum install lm_sensors
[root@servert02haitao ~]# rpm -qa |grep sensors
lm_sensors-2.10.7-4.el5
lm_sensors-2.10.7-4.el5
2.下载新的 sensors-detect
[root@servert02haitao ~]# cd /usr/sbin/
[root@servert02haitao sbin]# rm -rf sensors-detect
[root@servert02haitaosbin]#wgethttp://dl.lm-sensors.org/lm-
sensors/)les/sensors-detect
--19:40:22-- http://dl.lm-sensors.org/lm-sensors/les/sensors-detect
正在解析主机 dl.lm-sensors.org... 160.45.254.26
Connecting to dl.lm-sensors.org|160.45.254.26|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:181020 (177K) [text/plain]
Saving to: `sensors-detect'
100%
[==============================================
========================================>] 181,020
4.82K/s in 26s
19:40:51 (6.69 KB/s) - `sensors-detect' saved [181020/181020]
[root@ localhost sbin]# chmod 755 sensors-detect