Lm sensors

From Alessandro's Wiki
Jump to: navigation, search

gentoo/generic configuration

  • use flags:
echo "sys-apps/lm_sensors sensord" >> /etc/portage/package.use
  • install:
emerge -uDNva lm_sensors
  • modules:
# modprobe coretemp acpi-cpufreq
  • tool to detect sensor kernel modules
sensors-detect
  • check the sensors
sensors  

logging

in file /etc/syslog-ng/syslog-ng.conf

destination sensord { file("/var/log/sensord"); };
filter f_sensord { facility(daemon) and program("sensord"); };
log { source(src); filter(f_sensord); destination(sensord); };

starting

/etc/init.d/sensord start 
rc-update add sensord default