TrueNAS SCALE批量查询硬盘温度命令

for disk in /dev/sd?; do sudo smartctl -A $disk | grep -i temperature; done

在Shell执行