硬盘检测

Linux

smartmontools

安装
apt install smartmontools

  1. 是否开启支持
    smartctl -i /dev/sda | grep support

  2. 检测硬盘通电时间(小时)

    smartctl -A /dev/sda | grep Power_On_Hours

  3. 硬盘温度

    smartctl -A /dev/sda | grep Airflow_Temperature_Cel

  4. 后台对硬盘进行长检测

    smartctl -t long /dev/sda

  5. 检查硬盘健康状态
    smartctl -H /dev/sda | grep overall-health

  6. 查看硬盘检测的日志

    smartctl -l selftest /dev/sda

  7. 查看硬盘错误日志

    smartctl -l error /dev/sda

WHDD

下载

https://whdd.github.io/get_it/

WHDD Ubuntu/Debian 软件包

whdd二进制文件放在*/usr/local/bin/*

Windows


硬盘检测
http://example.com/2025/08/18/硬盘检测/
作者
秋雨夜眠
发布于
2025年8月18日
许可协议