mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 04:50:40 +03:00
25 lines
537 B
Markdown
25 lines
537 B
Markdown
# smartctl
|
|
|
|
> View a disk's SMART data and other information.
|
|
> See https://en.wikipedia.org/wiki/S.M.A.R.T for more information.
|
|
|
|
- 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}}`
|