CentOS系统下CPU温度监控

CentOS下监控CPU的温度。本文基于CentOS 6.5 64bit。

lm_sensors通过调用/lib/modules/2.6.32-358.xxx.x86_64/kernel/drivers/hwmon/coretemp.ko模块来读取温度值。

yum install lm_sensorssensors-detect           #一路YES即可modprobe i2c-devmobprobe coretemp        #必要cat /etc/sysconfig/lm_sensors    #查看温度监控模块sensors                  #查看CPU温度watch sensors            #每隔一秒显示CPU温度watch -n 1 -d sensors    #每隔一秒显示CPU温度

以下是一些无用内容,请自动忽略。谷歌查到的一些其它监控CPU温度的内容:

/sys/bus/acpi/devices/LNXTHERM\:00/thermal_zone/tempcat /proc/acpi/thermal_zone/THM0/temperature

On my 2010 Debian Lenny system, the path is:proc/acpi/thermal_zone/THRM/temperature

CentOS系统下CPU温度监控

相关文章:

你感兴趣的文章:

标签云: