×

linux下监测cpu温度,linux下CPU温度监测

hqy hqy 发表于2023-11-24 09:54:18 浏览671 评论0

抢沙发发表评论

1、安装相关软件

sudo apt-get install lm-sensors sensors-applet

[root@localhost ~]# sensors

No sensors found!

Make sure you loaded all the kernel drivers you need.

Try sensors-detect to find out which these are.

出错,执行下列命令一路回车。并且加载下列驱动:

[root@localhost ~]# sensors-detect

2、加载相关驱动

[root@localhost ~]# insmod /lib/modules/2.6.18-238.el5PAE/kernel/drivers/hwmon/coretemp.ko

3、#sensors

[root@localhost ~]# sensors

coretemp-isa-0000

Adapter: ISA adapter

Core 0:      +54°C  (high =  +105°C)

coretemp-isa-0001

Adapter: ISA adapter

Core 1:      +52°C  (high =  +105°C)

coretemp-isa-0002

Adapter: ISA adapter

Core 2:      +46°C  (high =  +105°C)

coretemp-isa-0003

Adapter: ISA adapter

Core 3:      +53°C 




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://sg.hqyman.cn/post/4602.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏

群贤毕至

访客

您的IP地址是: