Linux 监测硬件温度 — lm-Sensors


lm-Sensors 是 Linux 指令模式下的温度监测工具, 它可以监测系统内多个硬件温度, 以下是安装及使用方法:

安装 lm-sensors
RHEL / CentOS:

# yum install lm_sensors

Debian / Ubuntu:

# apt-get install lm-sensors

安装 lm-sensors 后, 初次使用需要设定那些温度需要监测, 执行以下指令, 并回答问题:

# sensors-detect

设定好要监测的硬件后, 只要执行以下指令就可以显示温度:

# sensors
Tags:

Leave a Reply