Lm sensors
From ArchWiki
| i18n |
|---|
| English |
| Русский |
| Українська |
| 简体中文 |
This document tells you how to install, setup, and use lm_sensors so that you can monitor CPU and/or motherboard temperature and fan speeds.
Contents |
[edit] Installing lm_sensors
- Install the package via Pacman
# pacman -Sy lm_sensors
[edit] Setting up lm_sensors
- Use sensors-detect to detect and generate list of kernel modules
# sensors-detect
This will create the configuration and store it in /etc/sysconfig/lm_sensors - Automatically load the kernel modules at boot time by adding sensors to the DAEMONS array in /etc/rc.conf
DAEMONS=(syslog-ng crond ... sensors ...)
- To test your setup, load the kernel modules now using the sensors init script
# /etc/rc.d/sensors start
Then use the sensors command$ sensors
You should see something like this
lm85-i2c-0-2e
Adapter: SMBus I801 adapter at c800
V1.5: +1.47 V (min = +0.00 V, max = +3.32 V)
VCore: +1.34 V (min = +0.00 V, max = +2.99 V)
V3.3: +3.32 V (min = +0.00 V, max = +4.38 V)
V5: +5.05 V (min = +0.00 V, max = +6.64 V)
V12: +11.94 V (min = +0.00 V, max = +15.94 V)
CPU_Fan: 1760 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
CPU Temp: +51°C (low = -127°C, high = +127°C)
Board Temp:
+46°C (low = -127°C, high = +127°C)
Remote Temp:
+45°C (low = -127°C, high = +127°C)
CPU_PWM: 77
Fan2_PWM: 87
Fan3_PWM: 87
vid: +1.088 V (VRM Version 10.0)
[edit] reading SPD values from memory modules
to read the SPD timing values from you memory modules "modprobe eeprom" and run that perl script: SPDdecodeScript
[edit] Using lm_sensors
- You should now be able to use lm_sensors in front-ends like xsensors, gkrellm, xfce4-sensors-plugin, GNOME Computer Temperature Monitor applet, and ksensors.