Monitoring my cpu temperatures

Eyal Lebedinsky eyal at eyal.emu.id.au
Wed Nov 13 09:22:29 EST 2002


Felix Karpfen wrote:
> 
>  Given that we are likely to face a hot summer,  I thought about
>  installing an applet that shows CPU temperatures etc.  It sent me off
>  to a program called lm_sensors; I appear to have the relevant
>  documentation installed but no evidence of the program (my box is
>  running RH 7.1). Nor do I know whether I have the needed hardware.

Go to
	http://secure.netroedge.com/~lm78/
and follow the "Links" (bottom of left column). You will find references
to a number of programs that actually display the sensors status.

lm_sensors requires the installation of an uptodate i2c package. This
will probably be required for your old kernel. Any reason for not
updating
to the latest RH 7.1 kernel (2.4.18-17.7.x)?

You then set up your modules to load the necessary components, as
explained with the lm_sensors package.

Current versions create a /proc/sys/dev/sensors, older ones used
/proc/sys/dev/lm_sensors. A program "sensors" will display the
status in a uniform way for the relevant version.

I have a Gigabyte 7ZX, and this is what my bootup script does:
	modprobe i2c-viapro
	modprobe i2c-isa
	# I2C chip drivers
	modprobe eeprom
	modprobe via686a
	# [20 Jul 02 EL] Gone since 2.4.18
	#modprobe sensors
Note how one module disappeared at one point.

For me the sensors info is in 
	/proc/sys/dev/sensors/via686a-isa-0c00

and the output of "sensors" is:
==============================
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Algorithm: Non-I2C SMBus adapter
Memory type:            SDRAM DIMM SPD
SDRAM Size (MB):        128

eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Algorithm: Non-I2C SMBus adapter
Memory type:            SDRAM DIMM SPD
SDRAM Size (MB):        128

eeprom-i2c-0-52
Adapter: SMBus Via Pro adapter at 0400
Algorithm: Non-I2C SMBus adapter
Memory type:            SDRAM DIMM SPD
SDRAM Size (MB):        256

via686a-isa-0c00
Adapter: ISA adapter
Algorithm: ISA algorithm
CPU core:  +1.77 V  (min =  +1.64 V, max =  +1.89 V)   
I/O:       +3.24 V  (min =  +2.95 V, max =  +3.62 V)   
+5V:       +4.82 V  (min =  +4.47 V, max =  +5.49 V)   
+12V:     +12.22 V  (min = +10.79 V, max = +13.18 V)   
CPU Fan:  5192 RPM  (min = 1500 RPM, div = 4)          
SYS Fan:  2884 RPM  (min = 1500 RPM, div = 4)          
CPU Temp:  +46.5°C  (limit =  +60°C, hysteresis =  +55°C) 
SYS Temp:  +37.1°C  (limit =  +50°C, hysteresis =  +45°C) 
SBr Temp:  +24.0°C  (limit =  +50°C, hysteresis =  +45°C) 

Play with the GUI programs and pick one you like. Some just show
the status, others gather it and can show history, some will
raise an alarm when necessary.

--
Eyal Lebedinsky (eyal at eyal.emu.id.au) <http://samba.org/eyal/>



More information about the linux mailing list