smartctl: add page (#1658)

coverage
Starbeamrainbowlabs 2017-11-28 15:43:20 +00:00 committed by GitHub
commit 838050e729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/common/smartctl.md Normal file
View File

@ -0,0 +1,24 @@
# 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}}`