Ubuntu 20.04 可视化监控CPU温度工具

  |   0 评论   |   997 浏览

注: 本文转载自: https://it.agr-api.com/a/oAerjDWGe32V9rFWkpQx

在 Ubuntu 上检查 CPU 温度

步骤 1. 更新所有系统包。

sudo apt update
sudo apt upgrade

注意:

不update,安装应用程序可能会报错(Unable to locate package)


步骤 2. 在 Ubuntu 上检查 CPU 温度。

您可以使用两种方法来检查 CPU 温度:使用 lm_sensors 工具或 Psensor 图形工具。

安装 lm_sensor。

大多数现代 Linux 操作系统都预装了 Lm_sensors。

sudo apt install lm-sensors hddtemp

安装后,运行以下命令来配置 lm_sensors:

sudo sensors-detect

配置完成后,调用sensors命令查看CPU温度。这将显示 CPU 内核的温度,如下所示:

$ sensors

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +54.0°C  (high = +79.0°C, crit = +83.0°C)
Core 0:        +54.0°C  (high = +79.0°C, crit = +83.0°C)
Core 1:        +52.0°C  (high = +79.0°C, crit = +83.0°C)
BAT0-acpi-0
Adapter: ACPI interface
in0:          12.43 V
curr1:       1000.00 uA
dell_smm-virtual-0
Adapter: Virtual device
Processor Fan: 3449 RPM
CPU:            +59.0°C
Other:          +52.0°C
Other:          +51.0°C
GPU:            +14.0°C
Other:          +51.0°C
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +57.5°C  (crit = +84.0°C)

安装 Psensors 工具。

Psensor是一种图形工具,它依赖于 lm_sensors 程序以图形格式显示温度读数。运行以下命令进行安装:

sudo apt install psensor

安装完成后,您可以使用该应用程序搜索 Psensor 应用程序并启动它。因此,将显示以下窗口:

Psensor-Linux

恭喜!您已成功安装检查 CPU 温度。感谢您使用本教程在您的 Ubuntu 系统上安装检查 CPU 温度。

评论

发表评论


取消