Linux 系统查看CPU温度

如何在linux中取得CPU温度呢?Linux系统可以通过安装lm_sensors工具查看CPU温度。

Centos系列:文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

安装指令:yum install lm_sensors文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

查看CPU温度:sensors文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

Ubuntu系列(多了service module-init-tools start一步骤)文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

安装指令:apt-get install lm-sensors文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

启动服务:service module-init-tools start文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

查看CPU温度:sensors文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

也可以通过sys系统读取cpu的温度: /sys/class/hwmon/hwmon0/device/文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html

文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html文章源自堕落的鱼-https://www.duoluodeyu.com/2630.html
 
Linux 服务器运维排查实战手册 系统软件

Linux 服务器运维排查实战手册

服务器出问题是每个运维都要面对的日常。排查故障最怕的就是没有思路,东试一下西试一下,最后问题没解决,时间还浪费了不少。这篇手册整理了一些常见的故障场景和排查流程,希望能帮你在遇到问题时有个清晰的思路。...
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证