CentOS: Sensors temperature
Posted: 2023 May 03, 19:28
To read the temperature of components that have temperature sensors, the lm_sensor package must be installed
After installing the lm_sensors package, type the command to detect the sensors. All specifications are accepted. (YES to all requirements).
After accepting all the requirements, check the temperature for all sensors
To monitor the temperature every two seconds, type the command
Code: Select all
[user @ centos ~]$ sudo su -
[root @ centos ~]$ yum install lm_sensors -y
Code: Select all
[root @ centos ~]$ yes|sensors-detect
Code: Select all
[root @ centos ~]$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +66.0°C (crit = +108.0°C)
temp2: +54.0°C (crit = +105.0°C)
temp3: +41.0°C (crit = +108.0°C)
temp4: +48.0°C (crit = +105.0°C)
temp5: +25.4°C (crit = +108.0°C)
temp6: +45.0°C (crit = +110.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +40.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +43.0°C (high = +105.0°C, crit = +105.0°C)
Code: Select all
[root @ centos ~]$ watch 'sensors'
Every 2.0s: sensors Thu May 14 00:21:12 2015
acpitz-virtual-0
Adapter: Virtual device
temp1: +67.0°C (crit = +108.0°C)
temp2: +54.0°C (crit = +105.0°C)
temp3: +43.0°C (crit = +108.0°C)
temp4: +49.0°C (crit = +105.0°C)
temp5: +25.4°C (crit = +108.0°C)
temp6: +45.0°C (crit = +110.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +41.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +43.0°C (high = +105.0°C, crit = +105.0°C)