硬盘检测
Linux
smartmontools
安装apt install smartmontools
是否开启支持
smartctl -i /dev/sda | grep support
检测硬盘通电时间(小时)
smartctl -A /dev/sda | grep Power_On_Hours
硬盘温度
smartctl -A /dev/sda | grep Airflow_Temperature_Cel
后台对硬盘进行长检测
smartctl -t long /dev/sda
检查硬盘健康状态
smartctl -H /dev/sda | grep overall-health
查看硬盘检测的日志
smartctl -l selftest /dev/sda
查看硬盘错误日志
smartctl -l error /dev/sda
WHDD
下载
https://whdd.github.io/get_it/
whdd二进制文件放在*/usr/local/bin/*
Windows
硬盘检测
http://example.com/2025/08/18/硬盘检测/