https://www.thomas-krenn.com/en/wiki/SMART_tests_with_smartctl

# Run as root
 
# get basic information
smartctl -i /dev/sda
# get SMART summary (?)
smartctl -a /dev/sda
# get SMART readings
smartctl -A /dev/sda
# get estimated duration for different tests
smartctl -c dev/sda
# perform a long self-test
smartctl -t long /dev/sda
# get test results
smartctl -l selftest /dev/sda