#!/bin/bash

tmpsda=`smartctl -a /dev/sda |grep Temperature_Celsius |awk -F " " '{print $10}';`
tmpsdb=`smartctl -a /dev/sdb |grep Temperature_Celsius |awk -F " " '{print $10}';`
tmpsdc=`smartctl -a /dev/sdc |grep Temperature_Celsius |awk -F " " '{print $10}';`
tmpsdd=`smartctl -a /dev/sdd |grep Temperature_Celsius |awk -F " " '{print $10}';`

echo "${tmpsda} ${tmpsdb} ${tmpsdc} ${tmpsdd}"
