17ebd8b66SMauro Carvalho ChehabUserspace tools
27ebd8b66SMauro Carvalho Chehab===============
37ebd8b66SMauro Carvalho Chehab
47ebd8b66SMauro Carvalho ChehabIntroduction
57ebd8b66SMauro Carvalho Chehab------------
67ebd8b66SMauro Carvalho Chehab
77ebd8b66SMauro Carvalho ChehabMost mainboards have sensor chips to monitor system health (like temperatures,
87ebd8b66SMauro Carvalho Chehabvoltages, fans speed). They are often connected through an I2C bus, but some
97ebd8b66SMauro Carvalho Chehabare also connected directly through the ISA bus.
107ebd8b66SMauro Carvalho Chehab
117ebd8b66SMauro Carvalho ChehabThe kernel drivers make the data from the sensor chips available in the /sys
127ebd8b66SMauro Carvalho Chehabvirtual filesystem. Userspace tools are then used to display the measured
137ebd8b66SMauro Carvalho Chehabvalues or configure the chips in a more friendly manner.
147ebd8b66SMauro Carvalho Chehab
157ebd8b66SMauro Carvalho ChehabLm-sensors
167ebd8b66SMauro Carvalho Chehab----------
177ebd8b66SMauro Carvalho Chehab
187ebd8b66SMauro Carvalho ChehabCore set of utilities that will allow you to obtain health information,
197ebd8b66SMauro Carvalho Chehabsetup monitoring limits etc. You can get them on their homepage
207ebd8b66SMauro Carvalho Chehabhttp://www.lm-sensors.org/ or as a package from your Linux distribution.
217ebd8b66SMauro Carvalho Chehab
227ebd8b66SMauro Carvalho ChehabIf from website:
237ebd8b66SMauro Carvalho ChehabGet lm-sensors from project web site. Please note, you need only userspace
247ebd8b66SMauro Carvalho Chehabpart, so compile with "make user" and install with "make user_install".
257ebd8b66SMauro Carvalho Chehab
267ebd8b66SMauro Carvalho ChehabGeneral hints to get things working:
277ebd8b66SMauro Carvalho Chehab
287ebd8b66SMauro Carvalho Chehab0) get lm-sensors userspace utils
297ebd8b66SMauro Carvalho Chehab1) compile all drivers in I2C and Hardware Monitoring sections as modules
307ebd8b66SMauro Carvalho Chehab   in your kernel
317ebd8b66SMauro Carvalho Chehab2) run sensors-detect script, it will tell you what modules you need to load.
327ebd8b66SMauro Carvalho Chehab3) load them and run "sensors" command, you should see some results.
337ebd8b66SMauro Carvalho Chehab4) fix sensors.conf, labels, limits, fan divisors
347ebd8b66SMauro Carvalho Chehab5) if any more problems consult FAQ, or documentation
357ebd8b66SMauro Carvalho Chehab
367ebd8b66SMauro Carvalho ChehabOther utilities
377ebd8b66SMauro Carvalho Chehab---------------
387ebd8b66SMauro Carvalho Chehab
397ebd8b66SMauro Carvalho ChehabIf you want some graphical indicators of system health look for applications
407ebd8b66SMauro Carvalho Chehablike: gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd,
417ebd8b66SMauro Carvalho Chehabhardware-monitor
427ebd8b66SMauro Carvalho Chehab
437ebd8b66SMauro Carvalho ChehabIf you are server administrator you can try snmpd or mrtgutils.
44