lm_sensors is an utility to monitor temperature, fan and voltage sensors.
You can check the Supported Device List. Alternatively you can enable all drivers and let the sensors-detect program do the work for you.
You need I2C support. Also you need to activate the following kernel options:
Portage knows the global USE flag lm_sensors for enabling support for lm_sensors in other packages. Enabling this USE flag will pull in sys-apps/lm_sensors automatically:
The USE flags of lm_sensors are:
|sensord||No||Enable sensord - a daemon that can be used to periodically log sensor readings from hardware health-monitoring chips|
|static-libs||No||Build static libraries|
After setting this you want to update your system so the changes take effect:
If you build all kernel options into the kernel, you can skip the next section and proceed with testing. Otherwise configure your modules.
You need to run sensors-detect to detect your sensors and the needed kernel modules:
Follow the instructions and answer the last question, whether /etc/conf.d/lm_sensors should be generated/overwritten, with "yes".
You can now start lm_sensors:
To start lm_sensors at boot time, add it your default runlevel:
Now you can test, if everything works, e.g.:
See the lm_sensors FAQ.