blob: bf3797c8e734bce571f7b5b275951c5f4f71ef0e [file] [log] [blame]
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03001Userspace tools
2===============
3
R.Marek@sh.cvut.cz828621d2005-05-26 12:42:29 +00004Introduction
5------------
6
7Most mainboards have sensor chips to monitor system health (like temperatures,
8voltages, fans speed). They are often connected through an I2C bus, but some
9are also connected directly through the ISA bus.
10
11The kernel drivers make the data from the sensor chips available in the /sys
Jean Delvare0d0001d2006-04-25 14:23:01 +020012virtual filesystem. Userspace tools are then used to display the measured
13values or configure the chips in a more friendly manner.
R.Marek@sh.cvut.cz828621d2005-05-26 12:42:29 +000014
15Lm-sensors
16----------
17
Jean Delvare0d0001d2006-04-25 14:23:01 +020018Core set of utilities that will allow you to obtain health information,
R.Marek@sh.cvut.cz828621d2005-05-26 12:42:29 +000019setup monitoring limits etc. You can get them on their homepage
Jean Delvareec1d86c2007-11-18 23:46:10 +010020http://www.lm-sensors.org/ or as a package from your Linux distribution.
R.Marek@sh.cvut.cz828621d2005-05-26 12:42:29 +000021
22If from website:
Jean Delvare0d0001d2006-04-25 14:23:01 +020023Get lm-sensors from project web site. Please note, you need only userspace
24part, so compile with "make user" and install with "make user_install".
R.Marek@sh.cvut.cz828621d2005-05-26 12:42:29 +000025
26General hints to get things working:
27
280) get lm-sensors userspace utils
Jean Delvare0d0001d2006-04-25 14:23:01 +0200291) compile all drivers in I2C and Hardware Monitoring sections as modules
30 in your kernel
R.Marek@sh.cvut.cz828621d2005-05-26 12:42:29 +0000312) run sensors-detect script, it will tell you what modules you need to load.
323) load them and run "sensors" command, you should see some results.
334) fix sensors.conf, labels, limits, fan divisors
345) if any more problems consult FAQ, or documentation
35
Jean Delvare0d0001d2006-04-25 14:23:01 +020036Other utilities
37---------------
R.Marek@sh.cvut.cz828621d2005-05-26 12:42:29 +000038
39If you want some graphical indicators of system health look for applications
40like: gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd,
41hardware-monitor
42
43If you are server administrator you can try snmpd or mrtgutils.