News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

Lm sensors

From FrugalWiki

Jump to: navigation, search


lm_sensors (Linux-monitoring sensors), a free open source software-tool for Linux, provides tools and drivers for monitoring temperatures, voltage, and fans.

This document tells you how to install, setup, and use lm_sensors so that you can monitor CPU and/or motherboard temperature and fan speeds.


Contents

Installation

Root terminal 48px.png
# pacman -S lmsensors


Daemon

Start the daemon

Root terminal 48px.png
# service lmsensors start


Add the deamon for every boot!

Root terminal 48px.png
# service lmsensors add


Setting up lm_sensors

Use

Root terminal 48px.png
# sensors-detect


Then your conf file /etc/sysconfig/lm_sensors will be ready.


Testing your lm_sensors

User terminal 48px.png
$ sensors

You'll get something like this

it8712-isa-0290
Adapter: ISA adapter
VCore 1:   +1.63 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
VCore 2:   +0.00 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
+3.3V:     +3.30 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
+5V:       +4.87 V  (min =  +0.00 V, max =  +6.85 V)   ALARM
+12V:     +12.03 V  (min =  +0.00 V, max = +16.32 V)   ALARM
-12V:     -27.36 V  (min = -27.36 V, max =  +3.93 V)   ALARM
-5V:      -13.64 V  (min = -13.64 V, max =  +4.03 V)   ALARM
Stdby:     +4.95 V  (min =  +0.00 V, max =  +6.85 V)   ALARM
VBat:      +4.08 V
fan1:     3994 RPM  (min =    0 RPM, div = 2)          
fan2:        0 RPM  (min =    0 RPM, div = 2)          
fan3:        0 RPM  (min =    0 RPM, div = 2)          
M/B Temp:    +44°C  (low  =    -1°C, high =  +127°C)   sensor = thermistor   ALARM
CPU Temp:    +32°C  (low  =    -1°C, high =  +127°C)   sensor = thermistor   ALARM
Temp3:        -1°C  (low  =    -1°C, high =  +127°C)   sensor = disabled   ALARM

For details about the conf file, see the manual

User terminal 48px.png
$ man sensors.conf


Using sensor data

Graphical Frontends

There are a variety of front-ends for sensors data. Some are listed below. The name in italicized text is the name of the package in the repo, in other words, you can install them via pacman.

  1. sensors-applet - an applet for the GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings.
  2. ksensors - ksensors is nice lm_sensors frontend for KDE
  3. xsensors - X11 interface to lm_sensors
  4. xfce4-sensors-plugin - A lm_sensors plugin for the Xfce panel
  5. conky - Conky is an advanced, highly configurable system monitor for X based on torsmo
  6. superkaramba - Superkaramba is a tool which gives posibility to create different widgets for KDE desktop. Check the karamba section on kde-look.org for examples of making karamba front-ends for sensors data.

Problems encountered

Problem 1: When I launch sensors-detect, I have this message: No i2c device files found.

Solution:

Root terminal 48px.png
# modprobe i2c-dev


See also

Personal tools
Namespaces
Variants
Actions