码迷,mamicode.com
首页 > 系统相关 > 详细

Linux查看机器温度

时间:2017-09-09 23:19:42      阅读:475      评论:0      收藏:0      [点我收藏+]

标签:linux

Linux查看机器温度

一、安装lm_sensors

[root@MPI_EXERCISE ~]# yum -y install lm_sensors

二、配置

[root@MPI_EXERCISE ~]# sensors-detect


Do you want to scan for them? This is totally safe. (YES/no): yes

Do you want to scan for Super I/O sensors? (YES/no): yes

This is normally safe. Do you want to scan for IPMI interfaces? (YES/no): yes

Do you want to scan the ISA I/O ports? (YES/no): yes

Do you want to probe the I2C/SMBus adapters now? (YES/no): yes

Next adapter: i915 gmbus ssc (i2c-0)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus vga (i2c-1)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus panel (i2c-2)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus dpc (i2c-3)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus dpb (i2c-4)

Do you want to scan it? (YES/no/selectively): yes

Next adapter: i915 gmbus dpd (i2c-5)

Do you want to scan it? (YES/no/selectively): yes


Now follows a summary of the probes I have just done.

Just press ENTER to continue: 

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): yes

Starting lm_sensors: loading module coretemp               [  OK  ]

Unloading i2c-dev... OK


三、查看温度

[root@MPI_EXERCISE ~]# sensors

acpitz-virtual-0

Adapter: Virtual device

temp1:       +27.8°C  (crit = +103.0°C)                  

temp2:       +29.8°C  (crit = +103.0°C)                  


coretemp-isa-0000

Adapter: ISA adapter

Physical id 0: +30.0°C  (high = +82.0°C, crit = +102.0°C)  

Core 0:        +25.0°C  (high = +82.0°C, crit = +102.0°C)  

Core 1:        +30.0°C  (high = +82.0°C, crit = +102.0°C) 


本文出自 “doublelinux” 博客,谢绝转载!

Linux查看机器温度

标签:linux

原文地址:http://doublelinux.blog.51cto.com/12300166/1963947

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!