lm_sensors is a free and open-source application that provides tools and drivers for monitoring temperatures, voltage, and fans. This document explains how to install, configure, and use lm_sensors.
root # emerge lm_sensors
lm_sensors service needs configuration in the
/etc/conf.d/lm_sensors file, which doesn't exists by default and can be generated by running the
root # sensors-detect
This tool will try to identify the kernel's modules needed by sensors and then place them into configuration file
/etc/conf.d/lm_sensors to be loaded/unloaded when the service starts/stops.
When some of these modules are loaded (e.g. from
/etc/conf.d/modules or manually),
sensors-detect can skip adding them into configuration file and service will not start them with next system (re)start.
To enable service at boot time, add the service into openrc runlevel:
root # rc-update add lm_sensors default