tldr/pages/common/smartctl.md

25 lines
533 B
Markdown
Raw Normal View History

2017-11-25 11:44:30 +00:00
# smartctl
> View a disk's SMART data and other information.
> More information: <https://en.wikipedia.org/wiki/S.M.A.R.T.>.
2017-11-25 11:44:30 +00:00
- View SMART health summary:
`sudo smartctl --health {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- View device information:
`sudo smartctl --info {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- Begin a short self-test:
2017-11-25 11:44:30 +00:00
`sudo smartctl --test short {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- View current/last self-test status and other SMART capabilities:
`sudo smartctl --capabilities {{/dev/sdX}}`
2017-11-25 11:44:30 +00:00
- View SMART self-test log (if supported):
`sudo smartctl --log selftest {{/dev/sdX}}`