Monitoring your temperature hardware on Linux made easy with “lm_sensors“. On CentOS or RedHat Enterprise, you can easily install the software using Yum as followed :
yum install lm_sensors
Then, you need to configure the software to monitor your hardware. You will have to answer several YES/no questions to probe your system. Just do the following command to detect your hardware sensors :
sensors-detect
You can manually check the temperature from the command line using this command :
sensors