2019-04-17 09:46:28 +00:00
|
|
|
Userspace tools
|
|
|
|
===============
|
|
|
|
|
2005-05-26 12:42:29 +00:00
|
|
|
Introduction
|
|
|
|
------------
|
|
|
|
|
|
|
|
Most mainboards have sensor chips to monitor system health (like temperatures,
|
|
|
|
voltages, fans speed). They are often connected through an I2C bus, but some
|
|
|
|
are also connected directly through the ISA bus.
|
|
|
|
|
|
|
|
The kernel drivers make the data from the sensor chips available in the /sys
|
2006-04-25 12:23:01 +00:00
|
|
|
virtual filesystem. Userspace tools are then used to display the measured
|
|
|
|
values or configure the chips in a more friendly manner.
|
2005-05-26 12:42:29 +00:00
|
|
|
|
|
|
|
Lm-sensors
|
|
|
|
----------
|
|
|
|
|
2006-04-25 12:23:01 +00:00
|
|
|
Core set of utilities that will allow you to obtain health information,
|
2005-05-26 12:42:29 +00:00
|
|
|
setup monitoring limits etc. You can get them on their homepage
|
2007-11-18 22:46:10 +00:00
|
|
|
http://www.lm-sensors.org/ or as a package from your Linux distribution.
|
2005-05-26 12:42:29 +00:00
|
|
|
|
|
|
|
If from website:
|
2006-04-25 12:23:01 +00:00
|
|
|
Get lm-sensors from project web site. Please note, you need only userspace
|
|
|
|
part, so compile with "make user" and install with "make user_install".
|
2005-05-26 12:42:29 +00:00
|
|
|
|
|
|
|
General hints to get things working:
|
|
|
|
|
|
|
|
0) get lm-sensors userspace utils
|
2006-04-25 12:23:01 +00:00
|
|
|
1) compile all drivers in I2C and Hardware Monitoring sections as modules
|
|
|
|
in your kernel
|
2005-05-26 12:42:29 +00:00
|
|
|
2) run sensors-detect script, it will tell you what modules you need to load.
|
|
|
|
3) load them and run "sensors" command, you should see some results.
|
|
|
|
4) fix sensors.conf, labels, limits, fan divisors
|
|
|
|
5) if any more problems consult FAQ, or documentation
|
|
|
|
|
2006-04-25 12:23:01 +00:00
|
|
|
Other utilities
|
|
|
|
---------------
|
2005-05-26 12:42:29 +00:00
|
|
|
|
|
|
|
If you want some graphical indicators of system health look for applications
|
|
|
|
like: gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd,
|
|
|
|
hardware-monitor
|
|
|
|
|
|
|
|
If you are server administrator you can try snmpd or mrtgutils.
|