lm_sensors is a set of hardware monitoring user space utilities.
They are helpful for tracking temperature, fan, and voltage data.
I2C support is needed along with the following kernel options:
KERNEL Enable I2C_CHARDEV and hardware Monitoring support in the kernel Device Drivers ---> -*- I2C support ---> <*> I2C device interface <*> Hardware Monitoring support ---> Select a driver, e.g.: [*] Intel Core/Core2/Atom temperature sensor (coretemp)
sensors-detect (/usr/sbin/sensors-detect) can be used to find available sensors and associated kernel modules:
sudo sensors-detect
NOTE: Follow the instructions.
sensors
returns:
k10temp-pci-00c3 Adapter: PCI adapter Tctl: +52.2°C Tccd1: +40.8°C Tccd2: +41.8°C enp4s0-pci-0400 Adapter: PCI adapter PHY Temperature: +59.9°C MAC Temperature: +59.4°C acpitz-acpi-0 Adapter: ACPI interface temp1: +16.8°C (crit = +20.8°C) iwlwifi_1-virtual-0 Adapter: Virtual device temp1: +42.0°C amdgpu-pci-0c00 Adapter: PCI adapter vddgfx: 421.00 mV fan1: 89 RPM (min = 0 RPM, max = 3000 RPM) edge: +46.0°C (crit = +100.0°C, hyst = -273.1°C) (emerg = +105.0°C) junction: +52.0°C (crit = +110.0°C, hyst = -273.1°C) (emerg = +115.0°C) mem: +60.0°C (crit = +108.0°C, hyst = -273.1°C) (emerg = +113.0°C) PPT: 23.00 W (cap = 303.00 W) nvme-pci-0100 Adapter: PCI adapter Composite: +39.9°C (low = -273.1°C, high = +81.8°C) (crit = +84.8°C) Sensor 1: +39.9°C (low = -273.1°C, high = +65261.8°C) Sensor 2: +46.9°C (low = -273.1°C, high = +65261.8°C)