CentOS 安裝溫度監控 lm_sensors

來源:互聯網
上載者:User

 

#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
author:         Rudolf Marek <r.marek@assembler.cz>
srcversion:     ACC9B44AC9ED676294B7A11
depends:        hwmon
vermagic:       2.6.18-194.3.1.el5 SMP mod_unload gcc-4.1

 

[root@server neil]# /usr/sbin/sensors-detect
 

按照提示確定即可。

 

[root@server neil]# sensors
it8718-isa-0290
Adapter: ISA adapter
in0:       +1.10 V  (min =  +0.00 V, max =  +4.08 V)
in1:       +1.97 V  (min =  +0.00 V, max =  +4.08 V)
in2:       +3.36 V  (min =  +0.00 V, max =  +4.08 V)
in3:       +2.99 V  (min =  +0.00 V, max =  +4.08 V)
in4:       +0.29 V  (min =  +0.00 V, max =  +4.08 V)
in5:       +0.00 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in6:       +1.23 V  (min =  +0.00 V, max =  +4.08 V)
in7:       +3.04 V  (min =  +0.00 V, max =  +4.08 V)
in8:       +3.30 V
fan1:     1328 RPM  (min =    0 RPM)
fan2:        0 RPM  (min =    0 RPM)
fan3:        0 RPM  (min =    0 RPM)
fan4:        0 RPM  (min =    0 RPM)
temp1:       +30¡ãC  (low  =  +127¡ãC, high =  +127¡ãC)   sensor = thermistor
temp2:       +19¡ãC  (low  =  +127¡ãC, high =  +127¡ãC)   sensor = diode
temp3:        -2¡ãC  (low  =  +127¡ãC, high =  +127¡ãC)   sensor = thermistor
vid:      +2.050 V

coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +44¡ãC  (high =  +100¡ãC)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +41¡ãC  (high =  +100¡ãC)

coretemp-isa-0002
Adapter: ISA adapter
Core 2:      +40¡ãC  (high =  +100¡ãC)

coretemp-isa-0003
Adapter: ISA adapter
Core 3:      +43¡ãC  (high =  +100¡ãC)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.