在CentOS 8中,可以使用lm-sensors工具来查看CPU温度。首先需要安装lm-sensors和fancontrol软件包,然后运行sensors命令来查看CPU温度。
在CentOS中,可以使用以下命令来查看CPU温度:
1、使用lmsensors工具

首先需要安装lmsensors工具,可以通过以下命令安装:
sudo yum install lm_sensors
安装完成后,运行以下命令检测传感器:
sudo sensorsdetect
按照提示操作,最后执行以下命令使配置生效:
sudo service lm_sensors start
可以使用以下命令查看CPU温度:
sensors
2、使用cpufrequtils工具
首先需要安装cpufrequtils工具,可以通过以下命令安装:

sudo yum install cpufrequtils
安装完成后,运行以下命令检测CPU频率和温度:
cpufreqinfo
3、使用x86sensors工具
首先需要安装x86sensors工具,可以通过以下命令安装:
sudo yum install x86sensors
安装完成后,运行以下命令检测CPU温度:
x86sensors
4、使用Intel Extreme Tuning Utility(IET)工具
首先需要下载并安装Intel Extreme Tuning Utility(IET)工具,可以从Intel官网下载。

安装完成后,运行以下命令检测CPU温度:
sudo ietctl temperature
5、使用Intelligent Platform Management Interface(IPMI)工具
如果服务器支持IPMI,可以通过以下命令查看CPU温度:
ipmitool H <IP地址> U <用户名> P <密码> sdr type temperature
注意替换<IP地址>、<用户名>和<密码>为实际的IPMI信息。
本文来自投稿,不代表重蔚自留地立场,如若转载,请注明出处https://www.cwhello.com/451349.html
如有侵犯您的合法权益请发邮件951076433@qq.com联系删除