centos查看電腦主機溫度命令

來源:互聯網
上載者:User

centos查看電腦主機溫度命令
在centos系統裡可以通過lm_sensors來查看CPU的溫度(當然你的硬體首先要支援),要使用這個功能要有核心相關模組(比如I2C)的支援,下面說一下操作方法:
先看一下你的機器上是否安裝了lm_sensors,
$ rpm -q lm_sensors

如果沒有安裝就先安裝一下
$ sudo yum install -y lm_sensors

檢測感應器:
$ sudo sh -c "yes|sensors-detect"


如果以上步驟沒有問題,執行下面的命令就可以查看CPU的溫度了:
$ 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)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.