mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:53:34 +02:00
smartctl: fix descriptions and improve examples
This commit is contained in:
parent
76aabc6a4f
commit
f54f9d2502
1 changed files with 8 additions and 7 deletions
|
@ -1,23 +1,24 @@
|
|||
# smartctl
|
||||
|
||||
> View a disk's [SMART](https://en.wikipedia.org/wiki/S.M.A.R.T.) data and other information.
|
||||
> 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/<device>}}`
|
||||
`sudo smartctl --health {{/dev/sda}}`
|
||||
|
||||
- View device information:
|
||||
|
||||
`sudo smartctl --info {{/dev/<device>}}`
|
||||
`sudo smartctl --info {{/dev/sda}}`
|
||||
|
||||
- Begin a (short) self-test:
|
||||
- Begin a short self-test:
|
||||
|
||||
`sudo smartctl --test {{short}} {{/dev/<device>}}`
|
||||
`sudo smartctl --test short {{/dev/sda}}`
|
||||
|
||||
- View current/last self-test status and other SMART capabilities:
|
||||
|
||||
`sudo smartctl --capabilities {{/dev/<device>}}`
|
||||
`sudo smartctl --capabilities {{/dev/sda}}`
|
||||
|
||||
- View SMART self-test log (if supported):
|
||||
|
||||
`sudo smartctl --log selftest {{/dev/<device>}}`
|
||||
`sudo smartctl --log selftest {{/dev/sda}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue