diff --git a/pages/common/smartctl.md b/pages/common/smartctl.md new file mode 100644 index 000000000..cce60e6bd --- /dev/null +++ b/pages/common/smartctl.md @@ -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/}}` + +- View device information: + +`sudo smartctl --info {{/dev/}}` + +- Begin a (short) self-test: + +`sudo smartctl --test {{short}} {{/dev/}}` + +- View current/last self-test status and other SMART capabilities: + +`sudo smartctl --capabilities {{/dev/}}` + +- View SMART self-test log (if supported): + +`sudo smartctl --log selftest {{/dev/}}`