How to check the CPU temperature under Linux

Source: Internet
Author: User
Tags redmine

1.

[Email protected] redmine-3.3.0-0]# cat/proc/acpi/thermal_zone/tz00/temperature

Temperature:28 C

[Email protected] redmine-3.3.0-0]# cat/proc/acpi/thermal_zone/tz01/temperature

Temperature:30 C

[Email protected] redmine-3.3.0-0]#

2.

If not installed, install it first.

# yum-y Install Lm_sensors

check Test sensor:

If the above steps are not a problem, you can see the CPU temperature by executing the following command:
# sensors

# sensors

acpitz-virtual-0

Adapter:virtual Device

Temp1: +27.8°c (crit = +105.0°c)

Temp2: +29.8°c (crit = +105.0°c)


nouveau-pci-0100

Adapter:pci Adapter

Temp1: +44.0°c (high = +95.0°c, Hyst = +3.0°c)

(Crit = +105.0°c, Hyst = +5.0°c)


coretemp-isa-0000

Adapter:isa Adapter

Physical ID 0: +39.0°c (high = +80.0°c, Crit = +100.0°c)

Core 0: +33.0°c (high = +80.0°c, Crit = +100.0°c)

Core 1: +35.0°c (high = +80.0°c, Crit = +100.0°c)

Core 2: +36.0°c (high = +80.0°c, Crit = +100.0°c)

Core 3: +39.0°c (high = +80.0°c, Crit = +100.0°c)



How to view your laptop's CPU and GPU temperature and fan (fan) speed operation under CentOS is as follows:

1. Install the Lm_sensors package (if the software is already installed, 1 and 2 steps are skipped):

    1. $ sudo yum install lm_sensors

    2. $ sudo apt-get install lm_sensors

2, manual configuration (all the way yes or enter on the line):

    1. $ sudo sensors-detect

3. Finally open the terminal input:

    1. $ sensors

This will output the temperature and fan speed of each sensor.





How to check the CPU temperature under Linux

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.