smartctl: add page

coverage
David Sommerich 2017-11-25 22:44:30 +11:00 committed by sommd
parent d681bb4cb5
commit 76aabc6a4f
1 changed files with 23 additions and 0 deletions

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

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