Install
Code Block |
---|
|
yum install lm-sensors
## 'yum' above for CentOS, 'apt-get' if you are using Ubuntu
sensors-detect
sensors
## if sensors-detect does not work, and above lm-sensors command does says 'nothing to do', try below instead
yum install lm_sensors.x86_64 |
...
Code Block |
---|
|
watch -n 1 -d sensors
## continuously prints and highlights changes |
k10temp-pci-00c3 (on Ubuntu 20.04)
This sensor is provided by the k10temp kernel module which handles the AMD CPU.
Code Block |
---|
title | Example of customer output |
---|
|
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +67.0°C
enp68s0-pci-4400
Adapter: PCI adapter
PHY Temperature: +84.0°C
k10temp-pci-00c3
Adapter: PCI adapter
Tdie: +93.0°C (high = +70.0°C)
Tctl: +93.0°C
## ^ this is pretty hot |
Known-oddities with lm_sensors
It doesn't work well with CentOS 8.x. It only does one sensor, but it is not clear on what that sensor tracks.