1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 22:44:54 +02:00
tldr/pages/common/smartctl.md
2019-04-13 00:24:54 +02:00

24 lines
533 B
Markdown

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