Monitor cpu temperature in linux

Source: Internet
Author: User
Monitor cpu temperature in linux-Linux Enterprise Application-Linux server application information. For more information, see the following section. First, emerge ksensors will install lm_sensors along with the dependency.

Make sure that the kernel above 2.4 is used and enabled

"I2C support" in Character devices and "I2C device interface" in "Hardware sensors support" and "I2C support"

I use the 2.6.20 kernel. All projects can be compiled in MB. No lm_sensors compilation in the kernel is successful.

After emerge ksensors, run sensors-detect on the terminal.

The module is automatically detected.

My computer supports LM90, EEPROM, it87, i2c-viapro

Then make menuconfig to open the corresponding module in the kernel "I2C support" and "Hardware sensors support" options, and then make modules & make modules_install

Start lm_sensors/etc/init. d/lm_sensors

Use the sensors command in the terminal or ksensors to monitor the cpu temperature at any time.
Related Article

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.