tldr/pages/common/smartctl.md

25 lines
524 B
Markdown
Raw Normal View History

2017-11-25 11:44:30 +00:00
# smartctl
> Monitor disk health including SMART data.
> More information: <https://www.smartmontools.org>.
2017-11-25 11:44:30 +00:00
- Display SMART health summary:
2017-11-25 11:44:30 +00:00
`sudo smartctl --health {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- Display device information:
2017-11-25 11:44:30 +00:00
`sudo smartctl --info {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- Start a short self-test in the background:
2017-11-25 11:44:30 +00:00
`sudo smartctl --test short {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- Display current/last self-test status and other SMART capabilities:
2017-11-25 11:44:30 +00:00
`sudo smartctl --capabilities {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- Display exhaustive SMART data:
2017-11-25 11:44:30 +00:00
`sudo smartctl --all {{/dev/sdX}}`