mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 19:15:27 +02:00
smartctl: add page
This commit is contained in:
parent
d681bb4cb5
commit
76aabc6a4f
1 changed files with 23 additions and 0 deletions
23
pages/common/smartctl.md
Normal file
23
pages/common/smartctl.md
Normal 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>}}`
|
Loading…
Add table
Reference in a new issue