Home | History | Annotate | Download | only in tools
      1 #!/bin/sh
      2 
      3 TMP_FILE=${TMP:-/tmp}/cpu_$$
      4 TM_DLY=1    # Time delay before start of entire new cycle.
      5 
      6 
      7 CNT=0
      8 while :
      9 do
     10 
     11 	: $(( CNT += 1 ))
     12 	echo "Loop Count $CNT"
     13 
     14 	echo 1 > $TMP_FILE
     15 	# TODO:  Verify writes are complete and correct
     16 
     17 	sleep $TM_DLY
     18 
     19 done
     20