SencorCheck                 SensorChek logo

    SensorCheck is a simple bash script that parse the /sys directory on a 2.6.x linux series
    to check for lm_sensors data and puts the result on standard output.
    For now i've tested it on my linux 2.6.0-test6 on an asus p2b-d with a w83781d chip
    and seems to work fine, i need info of other system and/or mainboard or sensors chip
.

Note:
    Lm_sensors in the new 2.6.x linux kernel use sysfs, then to use sensorcheck you need a well configured system.
    To work fine you need to load i2c support, the lm_sensors module of  your sensor chip and then mount the /sysfs.
    In the etc/fstab result something like:
sysfs  		/sys   		sysfs	 defaults     			0 	0

lsmod result:

w83781d                36352  0 
i2c_sensor              3328  1 w83781d
i2c_piix4               7948  0 
i2c_core               26248  3 w83781d,i2c_sensor,i2c_piix4



SensorCheck is released under the GNU General Public License (GPLv2).

Download:

    SensorCheck can be downloaded from:
        download from http
        ftp://ftp.no-net.org/pub/projects/sensorcheck/
        http://freshmeat.net/projects/sensorchek

Status:

    Currend development version is 0.6
    Click here to see the Changelog

To do:

    I need to test it with other lm_sensors chip,
    Code need to be checked,
    Add some documentation file like INSTALL, README, USAGE...
    I think to add a litle system of alarm to check if some value exceeds the min or max limit.
    In future new features can be: an interactive output, option to calculate temp in celsius or fahrenheit,
    add a configuration file.

Example:

    $ sensorcheck

Sensorcheck 0.6 for lm_sensors for linux kernel 2.6.x series
This software was written by Fabio Borraccetti 

sensor name: w83781d
fan 1: 0 ( min: 3000; div: 2)
fan 2: 5672 ( min: 3000; div: 2)
fan 3: 4591 ( min: 3000; div: 2)
temp 1: 29.00 ( min: 60.00; max: 127.00; tempdiv: 100 )
temp 2: 35.00 ( min: 50.00; max: 60.00; tempdiv: 100 )
temp 3: 33.00 ( min: 50.00; max: 60.00; tempdiv: 100 )
volt 0: 1.96 ( min: 1.85; max:2.25; indiv: 1000 )
volt 1: 1.96 ( min: 1.85; max:2.25; indiv: 1000 )
volt 2: 3.16 ( min: 2.97; max:3.63; indiv: 1000 )
volt 3: 2.92 ( min: 2.68; max:3.26; indiv: 1000 )
volt 4: 3.12 ( min: 2.84; max:3.45; indiv: 1000 )
volt 5: 3.37 ( min: 3.10; max:3.79; indiv: 1000 )
volt 6: 3.23 ( min: 2.99; max:3.64; indiv: 1000 )
vid: 2050
vrm: 82
rt 1: 1
rt 2: 3
rt 3: 5
alarm status: 4160
beep_enable: 0
beep_mask: 0
detach_state: 0
power state: 0

$ ./sensorcheck -h

help:
usage ./sensorcheck
usage ./sensorcheck -sftFvabdphVl -T value -I value
Option:
   c		run only check test and exit
   s		print the sensor chip name
   f		print only fan section
   t		print only temperature section
   F		print temperature section in farenhit
   v		print only the voltage section
   a		print the alarm state
   b		print the beep state
   d		print the detach state
   p		print the power section
   h		print this help
   V		print only version info
   l		print the copyright info
   T value 	print the temperature section with tempdiv set to value
   V value 	print the voltage section with indiv set to value
Example:
   ./sensorcheck -sftvabdp
   this print all info without the version

Developer

    This script is written and mantained by Fabio Borraccetti <miasma at no-net.org>
    Homepage http://miasma.no-net.org mirror: http://ternilug.org/~miasma/
    If someone wants to help me, there is always some work to do, then doesn't hesitate
    to contact me! Help me to test this software, give me suggest and new features...


3166