硬盘检测
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/硬盘检测/