August 21, 2020
smartctl -t long /dev/<device>
smartctl -H /dev/<device> smartctl -l selftest /dev/<device> smartctl -a /dev/<device>
Source: https://wiki.archlinux.org/index.php/S.M.A.R.T.