CPU temperature monitoring in CentOS
Monitor the CPU temperature in CentOS. This article is based on CentOS 6.5 64bit.
Lm_sensors reads the temperature value by calling the/lib/modules/2.6.32-358. xxx. x86_64/kernel/drivers/hwmon/coretemp. ko module.
Yum install lm_sensorssensors-detect # One way YES Can modprobe i2c-devmobprobe coretemp # necessary cat/etc/sysconfig/lm_sensors # view temperature monitoring module sensors # view CPU Temperature watch sensors # Display CPU Temperature watch-n every second 1-d sensors # CPU temperature displayed every second
The following are useless content. Ignore it automatically.
Some other CPU temperature monitoring content found by Google:
/Sys/bus/acpi/devices/LNXTHERM \: 00/thermal_zone/temp
Cat/proc/acpi/thermal_zone/THM0/temperature
On my 2010 Debian Lenny system, the path is:
Proc/acpi/thermal_zone/THRM/temperature