df -k | grep -i “/EMCdb”|awk ‘{tot += $2; used += $3; avail += $4;} END {print “Total”,tot/1024/1024,”Used “,used/1024/1024,”Avail “avail/102
4/1024, “Avail % ” avail*100/tot, “Used % ” used*100/tot}’
df -k | grep -i “/testdb”|awk ‘{tot += $2; used += $3; avail += $4;} END {print “Total”,tot/1024/1024,”Used “,used/1024/1024,”Avail “avail/10
24/1024, “Avail % ” avail*100/tot, “Used % ” used*100/tot}’
df -k | grep -i “/emc3830″|awk ‘{tot += $2; used += $3; avail += $4;} END {print “Total”,tot/1024/1024,”Used “,used/1024/1024,”Avail “avail/1
024/1024, “Avail % ” avail*100/tot, “Used % ” used*100/tot}’