diff options
author | Akshay Gaikwad <akgaikwad001@gmail.com> | 2021-03-01 13:49:22 +0530 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-03-04 10:17:46 -0500 |
commit | be7917f64a26041973d78094af5ab88472177514 (patch) | |
tree | ab5e69a02c91c0ca8e952786c6ae8c8873f3b4c7 | |
parent | 41d07aef93af3fed0453d178cf1cdf470e3260d3 (diff) | |
download | sos-be7917f64a26041973d78094af5ab88472177514.tar.gz |
[ata] Add "smartcl -l scterc dev-name- command
"-l scterc" prints values and description of the SCT Error Recovery
Control settings.
Resolves: #2426
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/report/plugins/ata.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/ata.py b/sos/report/plugins/ata.py index 9063a845..6e1b7641 100644 --- a/sos/report/plugins/ata.py +++ b/sos/report/plugins/ata.py @@ -29,7 +29,8 @@ class Ata(Plugin, IndependentPlugin): disk_path = os.path.join(dev_path, disk) self.add_cmd_output([ "hdparm %s" % disk_path, - "smartctl -a %s" % disk_path + "smartctl -a %s" % disk_path, + "smartctl -l scterc %s" % disk_path, ]) |