当前位置:首页 > 问答 > 正文

CPU监控|硬件检测|linux如何查询cpu温度

🔥 CPU监控 | 硬件检测 | Linux查询CPU温度 🔍

  1. CPU监控工具 🛠️

    CPU监控|硬件检测|linux如何查询cpu温度

    • htop(交互式进程查看)
    • top(基础性能监控)
    • glances(全能系统监控)
    • nmon(实时资源分析)
  2. 硬件检测命令 💻

    • lscpu(查看CPU架构信息)
    • dmidecode(获取详细硬件数据)
    • sensors(需安装lm-sensors,检测温度/电压)
  3. Linux查CPU温度 🌡️

    CPU监控|硬件检测|linux如何查询cpu温度

    • 安装传感器驱动:sudo apt install lm-sensors(Debian/Ubuntu)
    • 运行检测:sudo sensors-detect(确认硬件支持)
    • 查看温度:sensorscat /sys/class/thermal/thermal_zone*/temp

趣味提示

  • 高温警告?❌ 试试清理风扇灰尘或优化散热!
  • 数据单位:/sys/class/thermal 文件内温度需除以1000(如45000=45°C)

📅 参考信息截止:2025年8月

CPU监控|硬件检测|linux如何查询cpu温度

发表评论