Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
[yaffs2.git] / linux-tests / gather_data.sh
1 #! /bin/sh
2 # gather_data.sh  agthers the data to be plotted
3 #
4 the_file=data
5 i=0;
6 rm -f $the_file
7
8 while true; do
9 str=$(cat /proc/yaffs_debug)
10 echo "$i, $str" 
11 echo "$i, $str"  >> $the_file
12 let i=$i+1
13 sleep 1
14 done