Options (6)
-H, --healthbooleanDisplay SMART health summary
Example:
sudo smartctl {{[-H|--health]}} {{/dev/sdX}}-i, --infobooleanDisplay device information
Example:
sudo smartctl {{[-i|--info]}} {{/dev/sdX}}-t, --testbooleanStart a short/long self-test in the background
Example:
sudo smartctl {{[-t|--test]}} {{short|long}} {{/dev/sdX}}-l, --logbooleanDisplay the self-test log
Example:
sudo smartctl {{[-l|--log]}} selftest-c, --capabilitiesbooleanDisplay current/last self-test status and other SMART capabilities
Example:
sudo smartctl {{[-c|--capabilities]}} {{/dev/sdX}}-a, --allbooleanDisplay exhaustive SMART data
Example:
sudo smartctl {{[-a|--all]}} {{/dev/sdX}}Examples (6)
Display current/last self-test status and other SMART capabilities
made by @shridhargupta | data from tldr-pages