lm_sensor is a tool that can monitor linux hardware - works great with 2.6 + kernel onwards
install
#yum install lm_sensors
Configure
#sensors-detect
Press YES to all prompt
Output depend on your type of MB
=====================
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `w83627ehf':
* ISA bus, address 0xa10
Chip `Winbond W83627DHG-P Super IO Sensors' (confidence: 9)
Driver `sbs':
* Bus `i915 gmbus reserved'
Busdriver `drm', I2C address 0x0b
Chip `Smart Battery' (confidence: 5)
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
Starting lm_sensors: loading module sbs w83627ehf [ OK ]
Unloading i2c-dev... OK
==============================
Instead of system restart - load the module (if any)by modprobe command
#modprobe i2d-dev
you can check the modules as
# cat /etc/sysconfig/lm_sensors
Run the command to check the cpu current temperature & high/critical limit
[root@imonitor tmp]# sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +23.0°C (high = +89.0°C, crit = +105.0°C) >> here +23 deg C is the current Temp
Core 2: +18.0°C (high = +89.0°C, crit = +105.0°C)
w83627dhg-isa-0a10
Adapter: ISA adapter
Vcore: +0.90 V (min = +0.00 V, max = +1.74 V)
in1: +0.78 V (min = +1.27 V, max = +0.52 V) ALARM
AVCC: +3.39 V (min = +2.98 V, max = +3.63 V)
VCC: +3.39 V (min = +2.98 V, max = +3.63 V)
in4: +1.30 V (min = +0.93 V, max = +1.48 V)
in5: +0.77 V (min = +0.06 V, max = +0.64 V) ALARM
in6: +1.06 V (min = +0.01 V, max = +0.03 V) ALARM
3VSB: +3.36 V (min = +2.98 V, max = +3.63 V)
Vbat: +3.34 V (min = +2.70 V, max = +3.30 V) ALARM
fan1: 0 RPM (min = 112500 RPM, div = 4) ALARM
fan2: 0 RPM (min = 3924 RPM, div = 4) ALARM
fan3: 0 RPM (min = 337500 RPM, div = 4) ALARM
fan5: 0 RPM (min = 13775 RPM, div = 2) ALARM
temp1: +24.0°C (high = -68.0°C, hyst = -123.0°C) ALARM sensor = diode
temp2: +23.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode
temp3: +127.0°C (high = +80.0°C, hyst = +75.0°C) ALARM sensor = thermistor
cpu0_vid: +2.050 V
if you want to see the temperature in Fahrenheit then
#sensors -F
if you want to monitor it live then use the below command
#watch 'sensors | grep "core''
Reading