Lm-Sensors

From MattWiki
(Redirected from Lmsensors)

LM-Sensors is a GPL / Linux program that provides some essential tools for monitoring the hardware health of systems containing hardware health monitoring hardware such as the LM78 and LM75. This program is a bit on the cumbersome side as far as configuring and running but after she's installed she workers great.

Downloading/Installing

  • On Fedora run:
yum -y install lm_sensors.i386

Configuring

  • Before you can run lm-sensors you need to configure it to run on your system. Start out by running:
/usr/sbin/sensors-detect

Sensors-detect will now ask you a bunch of questions regarding the type of system you have. The great part of Sensors-detect is if you just answer yes to all the questions you should be good to go. Once Sensors-detect has ran you will see an out-put close to this.

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

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

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
# Chip drivers
modprobe lm85
modprobe eeprom
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----

If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): yes

You will now wont to follow the cut here and see is she works.