CentOS安裝lm_sensors溫度監控 CentOS 安裝lm_sensors 溫度監控首先查看是否安裝,系統預設安裝了 #rpm -qa|grep sensorslm_sensors-devel-3.1.1-17.el6.x86_64lm_sensors-libs-3.1.1-17.el6.x86_64lm_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 coretempcoretemp 7381 0最後運行sensors#sensors-detect01# 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 Platform04 05This program will help you determine which kernel modules you need06to load to use lm_sensors most effectively. It is generally safe07and recommended to accept the default answers to all questions,08unless you know what you're doing.09 10Some south bridges, CPUs or memory controllers contain embedded sensors.11Do you want to scan for them? This is totally safe. (YES/no): yes12Silicon Integrated Systems SIS5595... No13VIA VT82C686 Integrated Sensors... No14VIA VT8231 Integrated Sensors... No15AMD K8 thermal sensors... No16AMD Family 10h thermal sensors... No17AMD Family 11h thermal sensors... No18AMD Family 12h and 14h thermal sensors... No19AMD Family 15h thermal sensors... No20AMD Family 15h power sensors... No21AMD Family 16h power sensors... No22Intel digital thermal sensor... Success!23 (driver `coretemp')24Intel AMB FB-DIMM thermal sensor... No25VIA C7 thermal sensor... No26VIA Nano thermal sensor... No27 28Some Super I/O chips contain embedded sensors. We have to write to29standard I/O ports to probe them. This is usually safe.30Do you want to scan for Super I/O sensors? (YES/no): yes31Probing for Super-I/O at 0x2e/0x2f32Trying family `National Semiconductor/ITE'... Yes33Found unknown chip with ID 0x0f0034Probing for Super-I/O at 0x4e/0x4f35Trying family `National Semiconductor/ITE'... No36Trying family `SMSC'... No37Trying family `VIA/Winbond/Nuvoton/Fintek'... No38Trying family `ITE'... No39 40Some systems (mainly servers) implement IPMI, a set of common interfaces41through which system health data may be retrieved, amongst other things.42We first try to get the information from SMBIOS. If we don't find it43there, we have to read from arbitrary I/O ports to probe for such44interfaces. This is normally safe. Do you want to scan for IPMI45interfaces? (YES/no): yes46Probing for `IPMI BMC KCS' at 0xca0... No47Probing for `IPMI BMC SMIC' at 0xca8... No48 49Some hardware monitoring chips are accessible through the ISA I/O ports.50We have to write to arbitrary I/O ports to probe them. This is usually51safe though. Yes, you do have ISA I/O ports even if you do not have any52ISA slots! Do you want to scan the ISA I/O ports? (YES/no): yes53Probing for `National Semiconductor LM78' at 0x290... No54Probing for `National Semiconductor LM79' at 0x290... No55Probing for `Winbond W83781D' at 0x290... No56Probing for `Winbond W83782D' at 0x290... No57 58Lastly, we can probe the I2C/SMBus adapters for connected hardware59monitoring devices. This is the most risky part, and while it works60reasonably well on most systems, it has been reported to cause trouble61on some systems.62Do you want to probe the I2C/SMBus adapters now? (YES/no): yes63Using driver `i2c-piix4' for device 0000:00:07.3: Intel 82371AB PIIX4 ACPI64Module i2c-dev loaded successfully.65 66 67Now follows a summary of the probes I have just done.68Just press ENTER to continue:69 70Driver `coretemp':71 * Chip `Intel digital thermal sensor' (confidence: 9)72 73Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): yes74Starting lm_sensors: loading module coretemp [確定]全部選yes然後最後看到loading module coretemp [確定] 及說明啟動成功! #sensors 查看溫度監控