分类: LINUX
2008-03-05 09:57:12
sudo apt-get install lm-sensors
#!/bin/bash |
4. sudo sensors-detect
,回答一些问题,基本全是按默认来的。只有最后选择ISA bus还是SMBus Bus时可以凭个人喜好,不过我还是选的ISA。最后会有一个需加载的模块列表,类似于#----cut here---- # Chip drivers w83627hf #----cut here---- |
sudo /etc/init.d/module-init-tools
把以上列表中模块逆序添加进/etc/modules文件中
# /etc/modules: kernel modules to load at boot time. |
sudo modprobe w83627hf |
truth@dogfox:~$ sudo sensors w83627hf-isa-0290 Adapter: ISA adapter VCore 1: +1.54 V (min = +0.00 V, max = +4.08 V) VCore 2: +1.33 V (min = +0.00 V, max = +4.08 V) +3.3V: +2.74 V (min = +2.82 V, max = +3.79 V) ALARM +5V: +5.21 V (min = +4.49 V, max = +6.85 V) +12V: +11.98 V (min = +4.50 V, max = +15.50 V) -12V: -11.78 V (min = -9.73 V, max = +1.04 V) ALARM -5V: -5.05 V (min = -5.05 V, max = -7.71 V) ALARM V5SB: +5.24 V (min = +5.03 V, max = +5.43 V) VBat: +3.25 V (min = +2.64 V, max = +2.06 V) ALARM fan1: 0 RPM (min = 1854 RPM, div = 8) ALARM fan2: 0 RPM (min = 675 RPM, div = 8) ALARM fan3: 2556 RPM (min = 5273 RPM, div = 8) ALARM temp1: +19°C (high = +8°C, hyst = -87°C) sensor = thermistor ALARM temp2: +38.0°C (high = +100°C, hyst = +95°C) sensor = diode temp3: +23.0°C (high = +100°C, hyst = +95°C) sensor = thermistor vid: +0.000 V (VRM Version 10.0) alarms: beep_enable: Sound alarm enabled |
sudo apt-get install sensors-apple
,我现在使的Ubuntu Breezy的库里竟然没有这个包,只好从Debian站点上下载.deb文件用sudo dpkg -i xxxx.deb
安装的。重启X后,Gnome的“添加到面板”里就应该有个叫“hardware sensors monitor”的Applet了。