linux获取CPU温度

简介: Centos系列   1 yum install lm_sensors 2 sensors-detect 3 sensors Ubuntu系列(多了service module-init-tools start一步骤)  ...

Centos系列

 

1 yum install lm_sensors
2 sensors-detect
3 sensors
Ubuntu系列(多了service module-init-tools start一步骤)

 

1 apt-get install lm-sensors
2 sensors-detect
3 service module-init-tools start
4 sensors
也可以通过sys系统读取cpu的温度: /sys/class/hwmon/hwmon0/device/


参考:http://www.mjmwired.net/kernel/Documentation/thermal/sysfs-api.txt

目录
相关文章
|
2月前
|
缓存 监控 Linux
在Linux中,如何看当前系统有几颗物理CPU和每颗CPU的核数?
在Linux中,如何看当前系统有几颗物理CPU和每颗CPU的核数?
|
2月前
|
监控 Linux
性能分析之 Linux 系统中 ps&top 中 CPU 百分比不一致?
【8月更文挑战第18天】性能分析之 Linux 系统中 ps&top 中 CPU 百分比不一致?
105 4
|
3月前
|
弹性计算 Linux 区块链
Linux系统CPU异常占用(minerd 、tplink等挖矿进程)
Linux系统CPU异常占用(minerd 、tplink等挖矿进程)
116 4
Linux系统CPU异常占用(minerd 、tplink等挖矿进程)
|
2月前
|
Linux Python
在Linux中,如何查找系统中占用CPU最高的进程?
在Linux中,如何查找系统中占用CPU最高的进程?
|
2月前
|
Linux
在Linux中,如何获取CPU的总核心数?
在Linux中,如何获取CPU的总核心数?
|
2月前
|
监控 安全 算法
在Linux中,cpu使用率过高可能是什么原因引起的?排查思路是什么?
在Linux中,cpu使用率过高可能是什么原因引起的?排查思路是什么?
|
2月前
|
Linux
在Linux中,如何查看占用CPU最多的进程?
在Linux中,如何查看占用CPU最多的进程?
|
2月前
|
存储 运维 监控
在Linux中,发现CPU负载过大,接下来怎么办?
在Linux中,发现CPU负载过大,接下来怎么办?
|
2月前
|
Linux
Linux系统如何查看版本信息,内核、发行版、cpu、所有版本
Linux系统如何查看版本信息,内核、发行版、cpu、所有版本
|
2月前
|
缓存 Linux 调度
Linux服务器如何查看CPU占用率、内存占用、带宽占用
Linux服务器如何查看CPU占用率、内存占用、带宽占用
639 0