You are here: Foswiki>ATLAS Web>LmSensors (16 Nov 2007, Sebastian)Edit Attach

Lm-sensors

lm-sensors is a hardware-monitoring tool for linux (cf. http://www.lm-sensors.org/).

Installation

  apt-get install lm-sensors
  modprobe i2c-dev i2c-core
  # sensors-detect gives an overview which modules are required
  sensors-detect
  modprobe ...
  /etc/init.d/lm-sensors start

Usage

'sensors' displays many values, depending and varying with type. Still I get an error and a few obviously wrong values, which might cohere with missing modules. Editing the /etc/sensors.conf and changing default values or adding "ignore fanX" etc. fixes these problems.

...
w83793-i2c-0-2f
 ERROR: Can't get adapter or algorithm?!?
VCoreA: +1.24 V (min = +0.92 V, max = +1.49 V) VCoreB: +1.49 V (min = +0.92 V, max = +1.49 V) Vtt: +1.21 V (min = +1.08 V, max = +1.33 V) in3: +0.51 V (min = +0.38 V, max = +0.69 V) in4: +1.79 V (min = +1.62 V, max = +1.98 V) +3.3V: +3.33 V (min = +2.96 V, max = +3.63 V) +12V: +11.71 V (min = +10.75 V, max = +13.25 V) +5V: +5.14 V (min = +4.64 V, max = +5.65 V) 5VSB: +5.05 V (min = +4.64 V, max = +5.65 V) VBAT: +3.20 V (min = +2.99 V, max = +3.66 V) fan1: 0 RPM (min = 712 RPM) ALARM fan2: 14062 RPM (min = 712 RPM) fan3: 13775 RPM (min = 712 RPM) fan4: 13917 RPM (min = 712 RPM) fan5: 0 RPM (min = 712 RPM) ALARM fan6: 0 RPM (min = 712 RPM) ALARM fan7: 0 RPM (min = 712 RPM) ALARM fan8: 0 RPM (min = 712 RPM) ALARM fan9: 0 RPM (min = 712 RPM) ALARM fan10: 0 RPM (min = 712 RPM) ALARM CPU1 Temp: +18.0 °C (high = +60.0 °C, hyst = +55.0 °C) CPU2 Temp:-108.0 °C (high = +60.0 °C, hyst = +55.0 °C) temp3: -128.0 °C (high = +60.0 °C, hyst = +55.0 °C) temp4: -128.0 °C (high = +60.0 °C, hyst = +55.0 °C) temp5: +24 °C (high = +80 °C, hyst = +75 °C) temp6: +23 °C (high = +50 °C, hyst = +45 °C)

Logging

Use sensord for logging sensors-output. I have not found a good deamon beeing able to react on ALARMs, but a simple solution might be a script like /usr/share/doc/lm-sensors/examples/daemon/healthd.sh.
Topic revision: r1 - 16 Nov 2007, Sebastian
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback