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