From 76aabc6a4f8ea92a085d762e70ef20692ef499da Mon Sep 17 00:00:00 2001 From: David Sommerich Date: Sat, 25 Nov 2017 22:44:30 +1100 Subject: [PATCH] smartctl: add page --- pages/common/smartctl.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/smartctl.md 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/}}`