CentOS安装lm_sensors温度监控


CentOS安装lm_sensors温度监控
 
CentOS 安装lm_sensors 温度监控
首先查看是否安装,系统默认安装了    
#rpm -qa|grep sensors
lm_sensors-devel-3.1.1-17.el6.x86_64
lm_sensors-libs-3.1.1-17.el6.x86_64
lm_sensors-3.1.1-17.el6.x86_64
 
下载最新的sensors-detect
# cd /usr/sbin/
# rm -rf sensors-detect
# wget http://dl.lm-sensors.org/lm-sensors/files/sensors-detect
--2013-10-16 10:54:28--  http://dl.lm-sensors.org/lm-sensors/files/sensors-detect
正在解析主机 dl.lm-sensors.org... 160.45.254.26
正在连接 dl.lm-sensors.org|160.45.254.26|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:202216 (197K) [text/plain]
正在保存至: “sensors-detect”
 
100%[======================================>] 202,216      163K/s   in 1.2s
 
2013-10-16 10:54:30 (163 KB/s) - 已保存 “sensors-detect” [202216/202216])
给予权限:
# chmod 755 sensors-detect
安装coretemp:
#wget http://www.pperry.f2s.com/linux/coretemp/kmod-coretemp-1.1-2.el5.x86_64.rpm
#rpm -ivh kmod-coretemp-1.1-2.el5.x86_64.rpm
   Preparing...                ########################################### [100%]
   1:kmod-coretemp          ########################################### [100%]
需要安装dkms,安装:
#yum install dkms
安装好后,
# modinfo coretemp
# modprobe coretemp
# lsmod|grep coretemp
coretemp                7381  0
最后运行sensors
#sensors-detect
01
# sensors-detect revision 6203 (2013-10-09 17:58:33 +0200)
02
# System: VMware, Inc. VMware Virtual Platform [None]
03
# Board: Intel Corporation 440BX Desktop Reference Platform
04
 
05
This program will help you determine which kernel modules you need
06
to load to use lm_sensors most effectively. It is generally safe
07
and recommended to accept the default answers to all questions,
08
unless you know what you're doing.
09
 
10
Some south bridges, CPUs or memory controllers contain embedded sensors.
11
Do you want to scan for them? This is totally safe. (YES/no): yes
12
Silicon Integrated Systems SIS5595...                       No
13
VIA VT82C686 Integrated Sensors...                          No
14
VIA VT8231 Integrated Sensors...                            No
15
AMD K8 thermal sensors...                                   No
16
AMD Family 10h thermal sensors...                           No
17
AMD Family 11h thermal sensors...                           No
18
AMD Family 12h and 14h thermal sensors...                   No
19
AMD Family 15h thermal sensors...                           No
20
AMD Family 15h power sensors...                             No
21
AMD Family 16h power sensors...                             No
22
Intel digital thermal sensor...                             Success!
23
    (driver `coretemp')
24
Intel AMB FB-DIMM thermal sensor...                         No
25
VIA C7 thermal sensor...                                    No
26
VIA Nano thermal sensor...                                  No
27
 
28
Some Super I/O chips contain embedded sensors. We have to write to
29
standard I/O ports to probe them. This is usually safe.
30
Do you want to scan for Super I/O sensors? (YES/no): yes
31
Probing for Super-I/O at 0x2e/0x2f
32
Trying family `National Semiconductor/ITE'...               Yes
33
Found unknown chip with ID 0x0f00
34
Probing for Super-I/O at 0x4e/0x4f
35
Trying family `National Semiconductor/ITE'...               No
36
Trying family `SMSC'...                                     No
37
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
38
Trying family `ITE'...                                      No
39
 
40
Some systems (mainly servers) implement IPMI, a set of common interfaces
41
through which system health data may be retrieved, amongst other things.
42
We first try to get the information from SMBIOS. If we don't find it
43
there, we have to read from arbitrary I/O ports to probe for such
44
interfaces. This is normally safe. Do you want to scan for IPMI
45
interfaces? (YES/no): yes
46
Probing for `IPMI BMC KCS' at 0xca0...                      No
47
Probing for `IPMI BMC SMIC' at 0xca8...                     No
48
 
49
Some hardware monitoring chips are accessible through the ISA I/O ports.
50
We have to write to arbitrary I/O ports to probe them. This is usually
51
safe though. Yes, you do have ISA I/O ports even if you do not have any
52
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): yes
53
Probing for `National Semiconductor LM78' at 0x290...       No
54
Probing for `National Semiconductor LM79' at 0x290...       No
55
Probing for `Winbond W83781D' at 0x290...                   No
56
Probing for `Winbond W83782D' at 0x290...                   No
57
 
58
Lastly, we can probe the I2C/SMBus adapters for connected hardware
59
monitoring devices. This is the most risky part, and while it works
60
reasonably well on most systems, it has been reported to cause trouble
61
on some systems.
62
Do you want to probe the I2C/SMBus adapters now? (YES/no): yes
63
Using driver `i2c-piix4' for device 0000:00:07.3: Intel 82371AB PIIX4 ACPI
64
Module i2c-dev loaded successfully.
65
 
66
 
67
Now follows a summary of the probes I have just done.
68
Just press ENTER to continue:
69
 
70
Driver `coretemp':
71
  * Chip `Intel digital thermal sensor' (confidence: 9)
72
 
73
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): yes
74
Starting lm_sensors: loading module coretemp               [确定]
全部选yes然后最后看到loading module coretemp               [确定] 
及说明启动成功! 
#sensors 
查看温度监控

相关内容

    暂无相关文章