Lm sensors

From ArchWiki

Revision as of 18:34, 28 August 2011 by James Eder(Talk | contribs)(→‎Reading SPD values from memory modules (Optional): The script has moved from lm-sensors to i2c-tools. There is an AUR package which pulls in an up-to-date version of the script (necessary for DDR3).)

Notice for kernels >=2.6.31

A change in version 2.6.31 has made sensors stop working for some users. See this FAQ entry for a detailed explanation and for some example errors. To fix sensors, add the following to your kernel boot line and reboot your machine.

Warning: In some situations, this may be dangerous. Consult the FAQ for details.

Usage

Installation

Install the sensors package from the main repo

# pacman -S lm_sensors

Setting up lm_sensors

Use sensors-detect to detect and generate a list of kernel modules

# sensors-detect

This will create the configuration and store it in Template:Filename. Be sure you answer YES to the questions about probing various sensors. When the script is finished, you will be presented with a summary of the probes, example from my system

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.

sensors-applet - an applet for the GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings.

ksensors - ksensors is nice lm_sensors frontend for KDE

xsensors - X11 interface to lm_sensors

xfce4-sensors-plugin - A lm_sensors plugin for the Xfce panel

conky - Conky is an advanced, highly configurable system monitor for X based on torsmo

kdeutils-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.

hardware-monitor - a GNOME Panel applet that displays some sensors readings as well as other hardware monitoring. AUR package

Sensord

There is an optional daemon logging package called sensord that can log your data to a round robin database (rrd) that you can visualize graphically. Placeholder for someone to write a wiki page on installation/configuration of sensord.