第一步:安装lm-sensors,打开终端键入

sudo apt-get install lm-sensors sensors-applet

根据提示键入Root密码,然后等待下载并安装完后关闭终端。在你想要显示传感器温度的面板位置右键,选择“添加到面板”菜单命

令,在列表中选择 “Hardware Sensors Monitor”后单击“添加”按钮即可添加该Applet程序。能直接检测到传感器那最好了。如果没有

检测到传感器(我的正常显示),显示”No sensors found”则转到下一步。

第二步:手动配置传感器

只要回答YES和按回车就可以了,和Windows里的‘下一步‘很像

sudo sensors-detect

会显示一堆东西,看不懂,贴出来

louis@Ubuntu-desktop:~$ sudo sensors-detect
# sensors-detect revision 4171 (2006-09-24 03:37:01 -0700)

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.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): yes
Probing for PCI bus adapters…
Use driver `i2c-viapro’ for device 0000:00:11.0: VIA Technologies VT8233A/8235 South Bridge

We will now try to load each adapter module in turn.
Module `i2c-viapro’ already loaded.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev’ to be loaded.
Do you want to load `i2c-dev’ now? (YES/no): yes
Module loaded successfully.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Next adapter: SMBus Via Pro adapter at 0400
Do you want to scan it? (YES/no/selectively): yes
Client found at address 0×4c
Handled by driver `lm90′ (already loaded), chip type `lm90′
Client found at address 0×4e
Probing for `National Semiconductor LM75′…                No
Probing for `Dallas Semiconductor DS1621′…                No
Probing for `Analog Devices ADM1021′…                     No
Probing for `Analog Devices ADM1021A/ADM1023′…            No
Probing for `Maxim MAX1617′…                              No
Probing for `Maxim MAX1617A’…                             No
Probing for `TI THMC10′…                                  No
Probing for `National Semiconductor LM84′…                No
Probing for `Genesys Logic GL523SM’…                      No
Probing for `Onsemi MC1066′…                              No
Probing for `Maxim MAX1619′…                              No
Probing for `National Semiconductor LM82/LM83′…           No
Probing for `Maxim MAX6659′…                              No
Probing for `Maxim MAX6633/MAX6634/MAX6635′…              No
Probing for `ITE IT8201R/IT8203R/IT8206R/IT8266R’…        No
Probing for `Fintek F75111R/RG/N (GPIO)’…                 No
Probing for `Fintek F75121R/F75122R/RG (VID+GPIO)’…       No
Client found at address 0×50
Probing for `Analog Devices ADM1033′…                     No
Probing for `Analog Devices ADM1034′…                     No
Probing for `SPD EEPROM’…                                 Success!
(confidence 8, driver `eeprom’)
Probing for `EDID EEPROM’…                                No
Probing for `Maxim MAX6900′…                              No
Client found at address 0×51
Probing for `Analog Devices ADM1033′…                     No
Probing for `Analog Devices ADM1034′…                     No
Probing for `SPD EEPROM’…                                 Success!
(confidence 8, driver `eeprom’)
Client found at address 0×69

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): yes
Probing for `National Semiconductor LM78′ at 0×290…       No
Probing for `National Semiconductor LM78-J’ at 0×290…     No
Probing for `National Semiconductor LM79′ at 0×290…       No
Probing for `Winbond W83781D’ at 0×290…                   No
Probing for `Winbond W83782D’ at 0×290…                   No
Probing for `Winbond W83627HF’ at 0×290…                  No
Probing for `Silicon Integrated Systems SIS5595′…         No
Probing for `VIA VT82C686 Integrated Sensors’…            No
Probing for `VIA VT8231 Integrated Sensors’…              No
Probing for `AMD K8 thermal sensors’…                     No
Probing for `IPMI BMC KCS’ at 0xca0…                      No
Probing for `IPMI BMC SMIC’ at 0xca8…                     No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): yes
Probing for Super-I/O at 0×2e/0×2f
Trying family `ITE’…                                      Yes
Found `ITE IT8705F Super IO Sensors’                        Success!
(address 0×290, driver `it87′)
Trying family `National Semiconductor’…                   No
Trying family `SMSC’…                                     No
Trying family `VIA/Winbond/Fintek’…                       No
Probing for Super-I/O at 0×4e/0×4f
Trying family `ITE’…                                      Yes
Found `ITE IT8705F Super IO Sensors’                        Success!
(address 0×290, driver `it87′)
Trying family `National Semiconductor’…                   No
Trying family `SMSC’…                                     No
Trying family `VIA/Winbond/Fintek’…                       No

Now follows a summary of the probes I have just done.
Just press ENTER to continue: ENTER

Driver `lm90′ (should be inserted):
Detects correctly:
* Bus `SMBus Via Pro adapter at 0400′
Busdriver `i2c-viapro’, I2C address 0×4c
Chip `lm90′ (confidence: 6)

Driver `eeprom’ (should be inserted):
Detects correctly:
* Bus `SMBus Via Pro adapter at 0400′
Busdriver `i2c-viapro’, I2C address 0×50
Chip `SPD EEPROM’ (confidence: 
* Bus `SMBus Via Pro adapter at 0400′
Busdriver `i2c-viapro’, I2C address 0×51
Chip `SPD EEPROM’ (confidence: 

EEPROMs are *NOT* sensors! They are data storage chips commonly
found on memory modules (SPD), in monitors (EDID), or in some
laptops, for example.

Driver `it87′ (should be inserted):
Detects correctly:
* ISA bus address 0×0290 (Busdriver `i2c-isa’)
Chip `ITE IT8705F Super IO Sensors’ (confidence: 9)

I will now generate the commands needed to load the required modules.
Just press ENTER to continue: ENTER

To make the sensors modules behave correctly, add these lines to
/etc/modules:

#—-cut here—-
# I2C adapter drivers
i2c-viapro
# Chip drivers
lm90
eeprom
it87
#—-cut here—-

第三步:安装其他监控软件xsensors,ksensors,gdesklets(gdesklets里有很多桌面小程序),Gkrellm,hddtemp等,自己选择安装。

sudo apt-get install xsensors或者ksensors(KDE中推荐使用ksensors)

sudo apt-get install gdesklets gkrellm

sudo apt-get install hddtemp

在终端里查看:

iletit@ubuntu:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:       +52.0°C  (crit = +110.0°C)

iletit@ubuntu:~$

网上的教材显示了很多东西,我的只显示了这么点,可能是硬件不同,或者是我少操作的些什么东西不过能看到温度就可以了。
下面还有一种是图形界面的,非常直观

工具叫GNOME Sensors 自己在软件中心搜索下吧

OK,祝大家在Linux下玩的愉快

ubuntu查看cpu温度相关推荐

  1. 服务器正常运行温度范围 ubuntu查看cpu温度 cpu温度过高

    服务器正常运行温度范围 服务器正常运行温度,服务器cpu的温度在什么范围内是属于正常温度_weixin_39571219的博客-CSDN博客 CPU温度: 一般在45-65℃或更低, 如果在75-80 ...

  2. Ubuntu 系统实时查看CPU温度和GPU温度

    Ubuntu 系统实时查看CPU和GPU温度: 方式一:lm-sensors 安装lm-sensors: sudo apt install lm-sensors 实时查看CPU和GPU 的温度(每1s ...

  3. Ubuntu18.4使用SystemMonitor实时查看CPU温度、内存、网速...

    使用Ubuntu电脑一直很烫,想要实时查看CPU温度,我的电脑已有System Monitor,不想下载Psensor,所以做法如下: 1.ctrl+Alt+t打开终端,通过添加PPA安装:: sud ...

  4. Ubuntu查看CPU和MEM的使用率

    Ubuntu查看CPU和MEM的使用率 1. 缘由 2. monitor 1. 缘由 最近功能开发告一段落了 那么就需要一些工具去简单的验证硬件也跟得上 2. monitor 查看CPU和MEM的使用 ...

  5. java获取CPU温度centos,CentOS终端下查看CPU温度

    在CentOS系统中安装使用实例如下: #yum install -y lm_sensors 然后运行sensors-detect来探测传感器类型,此命令会给出一些问题,一律回答Yes即可: [roo ...

  6. c语言查看cpu温度代码_树莓派学习笔记——短短几行C语言代码获取树莓派的CPU温度...

     玩转树莓派 标签: 树莓派CPU温度 前言 本文通过文件操作读取树莓派CPU温度,在linux系统中任何设备的操作都被抽象成为文件读写,通过读取/sys/class/thermal/thermal_ ...

  7. Ubuntu 查看CPU信息

    Ubuntu 查看cpu个数及核心数 总核数 = 物理CPU个数 X 每颗物理CPU的核数 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数 查看CPU型号 cat /pro ...

  8. suse linux查看CPU温度,Ubuntu下查看CPU温度风扇转速和硬盘温度

    夏天到了,这几天本本的温度也飙升起来,在WinXP下玩了会CS,结果CPU一下就到了80度,吓得我赶紧关了. 下午Win7 64位旗舰版也下载完了,准备体验一下,就装个系统,网页都不浏览的情况下CPU ...

  9. Mac通过istats查看CPU温度、风扇转速

    安装 iStats 打开"终端",输入命令: sudo gem install iStats 显示如上界面,表示安装完成. 使用 iStats 继续在终端中输入 "ist ...

  10. ubuntu查看cpu使用率

    rk3588上安装的ubuntu系统,规格书上是8核CPU,希望跑算法时使用4核来跑,所以需要查看cpu的使用情况. 输入gnome-system-monitor,开启进程界面: 点击资源,进入CPU ...

最新文章

  1. Verilog中for 语句怎么用
  2. 机器学习实战-数据探索(变量变换、生成)
  3. Python Importlib模块与__import__详解
  4. 深入 理解 Statement 和 PreparedStatement 【转】
  5. 分享几个拉钩网的前端页面
  6. react学习(58)--this.props进行父子传值
  7. [Leedcode][JAVA][第1162题][BFS]
  8. webshell提权教程linux,Linux下WEBSHELL提权
  9. 第九篇:Spring Boot整合Spring Data JPA_入门试炼01
  10. mysql命令行的几个用法
  11. vb 6.0 获取重定向的url_免费CloudFlare CDN真香,个人站点加速+Https证书+重定向
  12. 网页压缩ob_start('ob_gzhandler')
  13. Mysql 监控性能状态 QPS/TPS
  14. 网吧破解还原卡的方法总结!!
  15. Shadowsocks错误:端口已被占用1090的错误解决办法
  16. 【更改google chrome浏览器路径的方法】
  17. 架构师说低代码:走出半生,归来仍是“毒瘤”!
  18. 案例解读 | 重视管理会计,让永辉超市从生鲜市场破局
  19. 《可复制的领导力》读书笔记
  20. 人生被彻底改变时,我还以为那只是寻常的一天

热门文章

  1. 走进Linux内核网络 套接字的秘密—socket与sock
  2. windows10彻底关闭自动更新
  3. 摇杆控制方向原理_摇杆电位器原理及结构
  4. Unity中使用摇杆控制
  5. MacBook如何安装双系统?
  6. Mac谷歌浏览器chromedriver驱动安装教程,实现浏览器自动化
  7. c语言实训报告 总结与展望,c语言实训报告总结范文四篇合集
  8. 如何用Python快速计算股票的Beta系数并排序存入Excel表中
  9. 20个励志早会小故事
  10. 【Excel】定位条件快速将空值替换为指定值