linux下的cpu温度监控软件 lm-sensors
发布时间:2008-09-05 00:27:46来源:红联作者:PCHCO
现在购买主机板时都会有厂商提供的监控软体可以使用,而最常使用到到功能像温度监控,系统状态等等,但是这些软体都只能在windows下使用,所以如果要在linux下监控CPU温度,可以透过lm-sensor这套软体来监控。
安装环境:
ubuntu 8.04.1 LTS
安装步骤:
1.安装lm-sensors
# apt-get install lm-sensors
2.设定监控选项
# sensors-detect
通常都是回答yes即可,注意最后一项,例如下面的资讯
To load everything that is needed, add this to /etc/modules:
#----cut here----
# I2C adapter drivers
# modprobe unknown adapter NVIDIA i2c adapter
# modprobe unknown adapter NVIDIA i2c adapter
# modprobe unknown adapter NVIDIA i2c adapter
i2c-i801
# Chip drivers
# no driver for Winbond W83L785R/G yet
lm85
#----cut here----
3.出现如上讯息后,载入模组
例如我的是i2c-i801与lm85
# modprobe i2c-i801
# modprobe lm85
4.之后再输入:
# sensors
5.就会出现cpu温度之类的监控讯息。
adm1027-i2c-3-2e
Adapter: SMBus I801 adapter at e000
V1.5: +1.31 V (min = +0.00 V, max = +3.32 V)
VCore: +1.49 V (min = +0.00 V, max = +2.99 V)
V3.3: +3.30 V (min = +0.00 V, max = +4.38 V)
V5: +5.08 V (min = +0.00 V, max = +6.64 V)
V12: +11.97 V (min = +0.00 V, max = +15.94 V) ALARM
CPU_Fan: 3941 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 1882 RPM (min = 0 RPM)
CPU Temp: +48.8°C (low = -127.0°C, high = +127.0°C)
Board Temp: +46.0°C (low = -127.0°C, high = +127.0°C)
Remote Temp: +45.5°C (low = -127.0°C, high = +127.0°C)
cpu0_vid: +1.525 V