ubuntu:hardware:sensors
Table of Contents
Ubuntu - Hardware - sensors
lm_sensors is a set of hardware monitoring user space utilities.
They are helpful for tracking temperature, fan, and voltage data.
Requirements
Kernel
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
sensors-detect (/usr/sbin/sensors-detect) can be used to find available sensors and associated kernel modules:
sudo sensors-detect
NOTE: Follow the instructions.
- It will probe which sensors are available and load the relevant kernel modules.
- The final question will allow you to write a config file in /etc/modules-load.d that contains the kernel modules that need to be loaded.
- This will only work if the modules-load runscript is started, add it to the default runlevel if necessary.
- If you use /etc/conf.d/modules to declare which kernel modules to load simply add the necessary kernel modules as shown by sensors-detect to it.
sensors
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)
ubuntu/hardware/sensors.txt · Last modified: 2023/06/03 11:52 by peter