最近服务器无故死机。网上搜索一下找个一个温度查看软件 sensors
查看是否有sensors
[root@localhost ~]# yum search sensors
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.sohu.com
* base: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
* addons: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
=============================== Matched: sensors ===============================
collectd-sensors.i386 : Libsensors module for collectd
digitemp.i386 : Dallas Semiconductor 1-wire device reading console application
gkrellm.i386 : Multiple stacked system monitors in one process
homestead.i386 : 3D real-time network visualiser
hosts3d.i386 : 3D real-time network visualiser
libprelude.i386 : The prelude library
libprelude-devel.i386 : Header files and libraries for libprelude development
lm_sensors.i386 : 硬件监视工具。
lm_sensors-devel.i386 : 用于将使用 lm_sensors 的程序的开发文件。
nagios-plugins-sensors.i386 : Nagios Plugin - check_sensors
openscada-DAQ-System.i386 : Open SCADA DAQ
xfce4-sensors-plugin.i386 : Sensors plugin for the Xfce panel
安装sensors
[root@localhost ~]# yum install lm_sensors
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.sohu.com
* base: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
* addons: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package lm_sensors.i386 0:2.10.7-4.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
lm_sensors i386 2.10.7-4.el5 base 513 k
Transaction Summary
================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 513 k
Is this ok [y/N]: y
Downloading Packages:
lm_sensors-2.10.7-4.el5.i386.rpm | 513 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-key@centos.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lm_sensors [1/1]
Installed: lm_sensors.i386 0:2.10.7-4.el5
Complete!
安装完检测一下驱动。(必须设置才能正常使用命令查看)
[root@localhost ~]# sensors-detect
# sensors-detect revision 5291 (2008-06-23 23:40:46 -0700)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 0000:00:1f.3: Intel 82801EB ICH5
We will now try to load each adapter module in turn.
Module `i2c-i801' already loaded.
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.
To continue, we need module `i2c-dev' to be loaded.
Do you want to load `i2c-dev' now? (YES/no): y
Module loaded successfully.
We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.
Next adapter: SMBus I801 adapter at 1100 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x2c
Probing for `National Semiconductor LM78'... No
Probing for `National Semiconductor LM78-J'... No
Probing for `National Semiconductor LM79'... No
Probing for `National Semiconductor LM80'... No
Probing for `National Semiconductor LM85 or LM96000'... No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... Success!
(confidence 8, driver `lm85')
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'... No
Probing for `Analog Devices ADT7462'... No
Probing for `Analog Devices ADT7476'... No
Probing for `Andigilog aSC7611'... No
Probing for `Andigilog aSC7621'... No
Probing for `National Semiconductor LM87'... No
Probing for `Winbond W83781D'... No
Probing for `Winbond W83782D'... No
Probing for `Winbond W83792D'... No
Probing for `Winbond W83791SD'... No
Probing for `Winbond W83627HF'... No
Probing for `Winbond W83627EHF'... No
Probing for `Winbond W83627DHG'... No
Probing for `Asus AS99127F (rev.1)'... No
Probing for `Asus AS99127F (rev.2)'... No
Probing for `Asus ASB100 Bach'... No
Probing for `Genesys Logic GL518SM Revision 0x00'... No
Probing for `Genesys Logic GL518SM Revision 0x80'... No
Probing for `Genesys Logic GL520SM'... No
Probing for `Analog Devices ADM9240'... No
Probing for `Dallas Semiconductor DS1780'... No
Probing for `National Semiconductor LM81'... No
Probing for `Analog Devices ADM1026'... No
Probing for `Analog Devices ADM1025'... No
Probing for `Philips NE1619'... No
Probing for `Analog Devices ADM1030'... No
Probing for `Analog Devices ADM1031'... No
Probing for `ITE IT8712F'... No
Probing for `ALi M5879'... No
Probing for `SMSC LPC47M15x/192/292/997'... No
Probing for `Analog Devices ADM1024'... No
Probing for `Winbond W83791D'... No
Client found at address 0x2e
Probing for `National Semiconductor LM78'... No
Probing for `National Semiconductor LM78-J'... No
Probing for `National Semiconductor LM79'... No
Probing for `National Semiconductor LM80'... No
Probing for `National Semiconductor LM85 or LM96000'... No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463'... No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102'... No
Probing for `Analog Devices ADT7462'... No
Probing for `Analog Devices ADT7467 or ADT7468'... Success!
(confidence 7, driver `to-be-written')
Probing for `Analog Devices ADT7473'... No
Probing for `Analog Devices ADT7475'... No
Probing for `Analog Devices ADT7476'... No
Probing for `Andigilog aSC7611'... No
Probing for `Andigilog aSC7621'... No
Probing for `National Semiconductor LM87'... No
Probing for `Winbond W83781D'... No
Probing for `Winbond W83782D'... No
Probing for `Winbond W83792D'... No
Probing for `Winbond W83791SD'... No
Probing for `Winbond W83627HF'... No
Probing for `Winbond W83627EHF'... No
Probing for `Winbond W83627DHG'... No
Probing for `Asus AS99127F (rev.1)'... No
Probing for `Asus AS99127F (rev.2)'... No
Probing for `Asus ASB100 Bach'... No
Probing for `Winbond W83L785TS-S'... No
Probing for `Analog Devices ADM9240'... No
Probing for `Dallas Semiconductor DS1780'... No
Probing for `National Semiconductor LM81'... No
Probing for `Analog Devices ADM1026'... No
Probing for `Analog Devices ADM1025'... No
Probing for `Analog Devices ADM1030'... No
Probing for `Analog Devices ADM1031'... No
Probing for `ITE IT8712F'... No
Probing for `Fintek F75387SG/RG'... No
Probing for `Analog Devices ADM1024'... No
Probing for `Winbond W83791D'... No
Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... Yes
Found `Nat. Semi. PC87366 Super IO Fan Sensors'
(but not activated)
Found `Nat. Semi. PC87366 Super IO Voltage Sensors'
(but not activated)
Found `Nat. Semi. PC87366 Super IO Thermal Sensors'
(but not activated)
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No
Some south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no): y
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel AMB FB-DIMM thermal sensor... No
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `lm85' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 1100'
Busdriver `i2c-i801', I2C address 0x2c
Chip `Analog Devices ADM1027, ADT7460 or ADT7463' (confidence: 8)
Driver `to-be-written' (should be inserted):
Detects correctly:
* Bus `SMBus I801 adapter at 1100'
Busdriver `i2c-i801', I2C address 0x2e
Chip `Analog Devices ADT7467 or ADT7468' (confidence: 7)
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
启动 lm_sensors: [确定]
查看一下是否正常
[root@localhost ~]# sensors
adt7463-i2c-0-2c
Adapter: SMBus I801 adapter at 1100
V1.5: +2.503 V (min = +2.40 V, max = +2.60 V)
VCore: +1.359 V (min = +0.00 V, max = +1.20 V) ALARM
V3.3: +3.373 V (min = +3.15 V, max = +3.47 V)
V5: +5.130 V (min = +4.40 V, max = +5.60 V)
V12: +0.063 V (min = +1.06 V, max = +1.25 V) ALARM
CPU_Fan: 0 RPM (min = 245 RPM) ALARM
fan2: 0 RPM (min = 245 RPM) ALARM
fan3: 0 RPM (min = 245 RPM) ALARM
fan4: 0 RPM (min = 0 RPM)
CPU Temp: -127.50°C (low = -127°C, high = +127°C) ALARM FAULT
Board Temp:
+33.50°C (low = -127°C, high = +127°C)
Remote Temp:
-127.50°C (low = -127°C, high = +127°C) ALARM FAULT
CPU_PWM: 255
Fan2_PWM: 255
Fan3_PWM: 255
vid: +1.388 V (VRM Version 10.0)