Nov 25

 

What is lm_sensors ?

 lm_Sensors is an Opensource Hardware health monitor. Monitor system sensors such as CPU and motherboard temperature.

Installation process

  1. install it through yum

             #yum install lm_sensors

            or you can install it through RPM ( http://fr2.rpmfind.net//linux/RPM/redhat/7.3/i386/lm_sensors-2.6.1-1.i386.html )

            # wget http://fr2.rpmfind.net//linux/RPM/redhat/7.3/i386/lm_sensors-2.6.1-1.i386.html

            # rpm -Uvh lm_sensors-2.6.1-1.i386.rpm

       2.  Detect the sensors on your mainboard, (run as root)

           # /usr/sbin/sensors-detect

            Accept all the default values.

            At the end it will print out something like:

To make the sensors modules behave correctly, add these lines to
/etc/modprobe.conf:

#—-cut here—-
# I2C module options
alias char-major-89 i2c-dev
#—-cut here—-

            Add the line, as instructed, to the end of /etc/modprobe.conf file.

      3.  Ignore the other instructions. Now run:
            #service lm_sensors start

         This will start the lm_sensors service.

          Now run:
          #sensors -s
         There should be no output.

         Next run:
         #sensors

         You should see output like this :

    # sensors
    w83792d-i2c-0-2f
    Adapter: SMBus I801 adapter at 0400
    VCoreA:    +1.25 V  (min =  +1.06 V, max =  +1.46 V)
    VCoreB:    +1.25 V  (min =  +1.06 V, max =  +1.46 V)
    VIN0:      +3.31 V  (min =  +0.00 V, max =  +4.08 V)
    VIN1:      +3.13 V  (min =  +0.00 V, max =  +4.08 V)
    VIN2:      +1.49 V  (min =  +0.00 V, max =  +4.08 V)
    VIN3:      +1.85 V  (min =  +0.00 V, max =  +4.08 V)
    5VCC:      +5.00 V  (min =  +0.00 V, max =  +6.12 V)
    5VSB:      +4.91 V  (min =  +0.00 V, max =  +6.12 V)
    VBAT:      +3.09 V  (min =  +0.00 V, max =  +4.08 V)
    Fan1:        0 RPM  (min =    0 RPM, div = 128)
    Fan2:        0 RPM  (min =    0 RPM, div = 2)
    Fan3:        0 RPM  (min =    0 RPM, div = 2)
    Fan4:        0 RPM  (min =    0 RPM, div = 128)
    Fan5:        0 RPM  (min =    0 RPM, div = 128)
    Fan7:     5769 RPM  (min =    0 RPM, div = 2)
    Temp1:     +28.0°C  (high = +127.0°C, hyst =  +0.0°C)
    Temp2:     +44.5°C  (high = +80.0°C, hyst = +75.0°C)
    Temp3:     +40.0°C  (high = +80.0°C, hyst = +75.0°C)
    chassis:  Chassis intrusion detection                  ALARM

    w83627thf-isa-0290
    Adapter: ISA adapter
    VCore:     +1.94 V  (min =  +0.70 V, max =  +1.87 V)       ALARM
    +12V:      +6.57 V  (min =  +6.51 V, max = +14.96 V)
    +3.3V:     +3.31 V  (min =  +3.90 V, max =  +3.31 V)       ALARM
    +5V:       +4.99 V  (min =  +6.59 V, max =  +3.20 V)       ALARM
    -12V:      +6.06 V  (min = -14.33 V, max =  +4.99 V)       ALARM
    V5SB:      +5.00 V  (min =  +6.40 V, max =  +6.85 V)       ALARM
    VBat:      +0.10 V  (min =  +1.86 V, max =  +2.03 V)       ALARM
    fan1:        0 RPM  (min = 2689 RPM, div = 2)              ALARM
    CPU Fan:     0 RPM  (min = 4821 RPM, div = 2)              ALARM
    fan3:        0 RPM  (min = 3426 RPM, div = 2)              ALARM
    M/B Temp:    -48°C  (high =    -9°C, hyst =   +17°C)   sensor = thermistor  
    CPU Temp:  -48.0°C  (high =   +80°C, hyst =   +75°C)   sensor = thermistor  
    temp3:     -48.0°C  (high =   +80°C, hyst =   +75°C)   sensor = thermistor  
    alarms:   Chassis intrusion detection                      ALARM
    beep_enable:
          Sound alarm enabled