CPU temperature monitoring in CentOS

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.