Centos command for viewing host temperature

Source: Internet
Author: User
In centos, you can use lm_sensors to view the CPU temperature (of course, your hardware must support it first). to use this function, you must support kernel-related modules (such as I2C, the operation method is as follows: Check whether lm_sensors is installed on your machine, $ rpm-qlm_sensors if not installed first install $ sudoyuminstall-ylm_sensors check in centos system can use lm_sensors to view the CPU temperature (of course, your hardware must first support ), to use this function, kernel-related modules (such as I2C) must be supported. The following describes the operation method:
Check whether lm_sensors is installed on your machine,
$ Rpm-q lm_sensors
 
If not, install it first.
$ Sudo yum install-y lm_sensors
 
Detection sensor:
$ Sudo sh-c "yes | sensors-detect"
 

If the preceding steps are correct, run the following command to check the CPU temperature:
$ Sensors
 
Adapter: ISA adapter
In0:           + 1.07 V (Min = + 0.00 V, max = + 4.08 V)
In1:           + 1.82 V (Min = + 0.00 V, max = + 4.08 V)
In2:           + 3.36 V (Min = + 0.00 V, max = + 4.08 V)
In3:           + 2.94 V (Min = + 0.00 V, max = + 4.08 V)
In4:           + 0.29 V (Min = + 0.00 V, max = + 2.10 V)
In5:           + 4.08 V (Min = + 0.00 V, max = + 4.08 V)   ALARM
In6:           + 4.08 V (Min = + 0.00 V, max = + 4.08 V)   ALARM
In7:           + 3.07 V (Min = + 0.00 V, max = + 4.08 V)
In8:           + 3.09 V
Fan1:       2463 RPM (Min =     0 RPM)
Fan2:             0 RPM (Min =     0 RPM)
Temp1:           -55 °C (Low = + 127 °C, high = + 127 °C)   Sensor = thermistor                                                                                
Temp2:             -2 °C (Low = + 127 °C, high = + 127 °C)   Sensor = thermistor                                                                                
Temp3:           + 21 °C (Low = + 127 °C, high = + 127 °C)   Sensor = diode
Vid:         + 2.050 V
 
Coretemp-isa-0000
Adapter: ISA adapter
Core 0:         + 44 °C (High = + 100 °C)
 
Coretemp-isa-0001
Adapter: ISA adapter
Core 1:         + 27 °C (High = + 100 °C)
It8718-isa-0290
Adapter: ISA adapter
In0:           + 1.07 V (Min = + 0.00 V, max = + 4.08 V)
In1:           + 1.82 V (Min = + 0.00 V, max = + 4.08 V)
In2:           + 3.36 V (Min = + 0.00 V, max = + 4.08 V)
In3:           + 2.94 V (Min = + 0.00 V, max = + 4.08 V)
In4:           + 0.29 V (Min = + 0.00 V, max = + 2.10 V)
In5:           + 4.08 V (Min = + 0.00 V, max = + 4.08 V)   ALARM
In6:           + 4.08 V (Min = + 0.00 V, max = + 4.08 V)   ALARM
In7:           + 3.07 V (Min = + 0.00 V, max = + 4.08 V)
In8:           + 3.09 V
Fan1:       2463 RPM (Min =     0 RPM)
Fan2:             0 RPM (Min =     0 RPM)
Temp1:           -55 °C (Low = + 127 °C, high = + 127 °C)   Sensor = thermistor                                                                            
Temp2:             -2 °C (Low = + 127 °C, high = + 127 °C)   Sensor = thermistor                                                                            
Temp3:           + 21 °C (Low = + 127 °C, high = + 127 °C)   Sensor = diode
Vid:         + 2.050 V
 
Coretemp-isa-0000
Adapter: ISA adapter
Core 0:       + 44 °C (High = + 100 °C)
 
Coretemp-isa-0001
Adapter: ISA adapter
Core 1:         + 27 °C (High = + 100 °C)

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.