Install
Install
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
Example
[root@rdlab ~]# sensors coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +42.0°C (high = +80.0°C, crit = +90.0°C) Core 0: +33.0°C (high = +80.0°C, crit = +90.0°C) Core 1: +35.0°C (high = +80.0°C, crit = +90.0°C) Core 2: +36.0°C (high = +80.0°C, crit = +90.0°C) Core 3: +30.0°C (high = +80.0°C, crit = +90.0°C) Core 4: +33.0°C (high = +80.0°C, crit = +90.0°C) Core 5: +32.0°C (high = +80.0°C, crit = +90.0°C)
Monitoring 'sensors'
Example
watch -n 1 -d sensors ## continuously prints and highlights changes