Lm-sensors

From LQWiki
Jump to navigation Jump to search

lm_sensors is a tool/driver for monitoring CPU/Motherboard temperature, fan speeds, voltage information, etc.

How to set it up

Warning

Installing (not only running) lm_sensors can cause your computer to spontaneously switch off days later. See lm sensors problems.

Quick Recipe

sensors-detect
sensors -s
/etc/init.d/lm_sensors restart
  • Test it like this
bort:~ # sensors
it8718-isa-0290
Adapter: ISA adapter
in0:       +1.26 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in1:       +3.02 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in2:       +3.33 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in3:       +3.01 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in4:       +2.98 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in5:       +0.06 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in6:       +0.10 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in7:       +2.90 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in8:       +3.06 V
fan1:     2027 RPM  (min =    0 RPM)
fan2:        0 RPM  (min =    0 RPM)
fan3:     1595 RPM  (min =    0 RPM)
temp1:       +87°C  (low  =    -1°C, high =  +127°C)   sensor = thermistor   ALARM
temp2:       +38°C  (low  =    -1°C, high =  +127°C)   sensor = thermistor   ALARM
temp3:       -35°C  (low  =    -1°C, high =  +127°C)   sensor = thermistor
vid:      +0.000 V

coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +61°C  (high =  +100°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +60°C  (high =  +100°C)

coretemp-isa-0002
Adapter: ISA adapter
Core 2:      +57°C  (high =  +100°C)

coretemp-isa-0003
Adapter: ISA adapter
Core 3:      +54°C  (high =  +100°C)

Using it

You can now use your sensors with the program ksensors.

Frontends

There are many front-ends for lm sensors: