How to view CPU temperature in centos

Source: Internet
Author: User

How to view CPU temperature in centos

As the host of AI machine, do we have to ask for help? The following describes how to view the CPU temperature in Linux.

CentOS series:

1. yum install lm_sensors;

2. sensors-detect

3. sensors

Ubuntu series:

1. apt-get install lm-sensors

2. sensors-detect

3. service kmod start

4. sensors

Note: during the execution of these commands, you need YES/NO/SELECT, directly all the way to YES, then OK!

The final information is roughly as follows:

Acpitz-virtual-0
Adapter: Virtual device
Temp1: + 55.0 °C (crit = + 103.0 °C)


Coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: + 55.0 °C (high = + 87.0 °C, crit = + 105.0 °C)
Core 0: + 50.0 °C (high = + 87.0 °C, crit = + 105.0 °C)
Core 1: + 51.0 °C (high = + 87.0 °C, crit = + 105.0 °C)

Finally, the above commands may change due to Driver Upgrade and other reasons, so they can only be used as a reference.

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.