#!/bin/bash
while : ;
do
	e=$d
	smartctl -a /dev/sda | grep Load > /tmp/load
	sed "s|[^0-9]|\n|g" /tmp/load > /tmp/1
	sed '71!d' /tmp/1 > /tmp/load
	rm /tmp/1
	d=`cat /tmp/load
###Set the limit within the argument of if#########`	
	if ((d-e>5)) 
	then
		beep
	fi
#####Interval ,in seconds######
	sleep 600 
done

	