bundlewrap/bundles/smartctl
2022-01-08 23:26:21 +01:00
..
files comment 2021-10-31 17:50:29 +01:00
items.py change telegraf plugin dir 2022-01-08 23:26:21 +01:00
metadata.py change telegraf plugin dir 2022-01-08 23:26:21 +01: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