安装:
命令使用:
查看驱动器信息:
$ smartctl -i D: smartctl 6.6 2017-11-05 r4594 [x86_64-w64-mingw32-w10-b17134] (sf-6.6-1) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org Warning: Limited functionality due to missing admin rights === START OF INFORMATION SECTION === Model Family: Marvell based SanDisk SSDs Device Model: SanDisk SDSSDXPS240G Serial Number: [No Information Found] Firmware Version: X21200RL Device is: In smartctl database [for details use: -P show] ATA Version is: [No Information Found] Local Time is: Wed Nov 14 18:41:11 2018 SMART support is: Available - device has SMART capability. Enabled status cached by OS, trying SMART RETURN STATUS cmd. SMART support is: Enabled
或者
smartctl --info D:
检查设备状态:
$ smartctl -H D: smartctl 6.6 2017-11-05 r4594 [x86_64-w64-mingw32-w10-b17134] (sf-6.6-1) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org Warning: Limited functionality due to missing admin rights Read SMART Thresholds failed: Function not implemented === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED
参考:
来源:https://www.cnblogs.com/hongdada/p/9967563.html