Home > 工作 > Linux环境下查看CPU温度

Linux环境下查看CPU温度

1、安装相应的包gnome-applet-sensors.x86_64lm_sensors-3.1.1-17.el6.x86_64.rpm

[root@DataCenter ~]# yum -y install *sensors gnome-applet-sensors.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.skyshe.cn
* rpmforge: mirror.fairway.ne.jp
* updates: ftp.isu.edu.tw
Setting up Install Process
Package gnome-applet-sensors-1.5.2-1.el4.rf.x86_64 already installed and latest                                                                                                  version
Resolving Dependencies
–> Running transaction check
—> Package lm_sensors.x86_64 0:3.1.1-17.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package             Arch            Version                Repository     Size
================================================================================
Installing:
lm_sensors          x86_64          3.1.1-17.el6           base          123 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 123 k
Installed size: 350 k
Downloading Packages:
lm_sensors-3.1.1-17.el6.x86_64.rpm                       | 123 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : lm_sensors-3.1.1-17.el6.x86_64                               1/1
  Verifying  : lm_sensors-3.1.1-17.el6.x86_64                               1/1

Installed:
  lm_sensors.x86_64 0:3.1.1-17.el6

Complete!

2、运行sensors-detect,然后一直输入yes回车,录入信息。

[root@DataCenter ~]# sensors-detect
# sensors-detect revision 1.1
# System: System manufacturer System Product Name
# Board: ASUSTeK Computer INC. P8H67-M

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you’re doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): yes

3、运行sensors查看CPU温度

[root@DataCenter ~]# sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +60.0°C  (high = +80.0°C, crit = +99.0°C)
Core 0:        +54.0°C  (high = +80.0°C, crit = +99.0°C)
Core 1:        +56.0°C  (high = +80.0°C, crit = +99.0°C)
Core 2:        +56.0°C  (high = +80.0°C, crit = +99.0°C)
Core 3:        +58.0°C  (high = +80.0°C, crit = +99.0°C)

原创文章,转载请注明: 转载自三叶草

本文链接地址:http://www.anjing.me/1498.html

特别声明:商业网站转载需经作者同意,否则视为侵权!

相关日志

POSTED ON 2014/09/16, , ,

Comments:1

Leave my own
  1. #1 三叶草
    14/09/16 回复

    DEBIAN的系统貌似要加载下这个模块才能运行sensors

    /etc/init.d/kmod start

Leave a Reply

TOP