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