bundlewrap/bundles/smartctl
2021-10-30 20:43:47 +02:00
..
files smartctl 2021-10-30 20:43:47 +02:00
items.py smartctl 2021-10-30 20:13:24 +02:00
metadata.py smartctl 2021-10-30 20:43:01 +02:00
README.md snartctl 2021-10-30 18:57:06 +02:00

state

smartctl -n idle /dev/sda

temp

smartctl -n idle -A /dev/sdb --json=c | jq .temperature.current

apm

smartctl --get apm /dev/sdb --json=c | jq .ata_apm.level smartctl --set apm,20 /dev/sdb --json=c

power state

smartctl -n idle /dev/sdb

devices

smartctl --scan | cut -d' ' -f1