安装sensors
1.如果是Debian & Ubuntu
sudo apt install lm-sensors
2.如果是 RHEL Rocky Linux CentOS :
yum install lm_sensors
3.如果是 openSUSE & SLES:
zypper install lm_sensors
查看系统硬件温度
sensors
分别选择要检测的区域
sensors-detect
检测所有区域
sh -c "yes|sensors-detect"
sudo apt install lm-sensors
yum install lm_sensors
zypper install lm_sensors
sensors
sensors-detect
sh -c "yes|sensors-detect"