Get the CPU Temperature in Centos 6.5 / RHEL

Posted by Tully on Wed 19 March 2014

The first step is to install the lm_sensors package via yum.

yum -y install lm_sensors

Next you need to configure the package by running the sensors-detect command.

You can accept the defaults for all prompts:


Now that the package is installed and configured, you can run it with the sensors command.