X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=linux-tests%2Fplot_data.sh;h=dcc1de3c951f8ee68fec238bfae663eb0e9854bf;hb=ddc0558522ec4a25d3f12f1d0d83c81a6bb7996a;hp=cd5a1cd6f8992af4b5865b3cb50e22ba7a46b4d5;hpb=1d2a2cb9408c2f3ed5f585b2d1669e5f6f7b7d6c;p=yaffs2.git diff --git a/linux-tests/plot_data.sh b/linux-tests/plot_data.sh index cd5a1cd..dcc1de3 100755 --- a/linux-tests/plot_data.sh +++ b/linux-tests/plot_data.sh @@ -28,7 +28,7 @@ while [ ! -e $done_file ] ; do str=$(cat /proc/yaffs_stats) echo "$i, $str" echo "$i, $str" >> $log_file -let i=$i+1 +i=$(($i+1)) sleep $gather_delay done } @@ -44,7 +44,10 @@ tail -$plot_samples $log_file > $trunc_file plot_str=" plot '$trunc_file' using 1:3 with linespoints title 'free', '' using 1:4 with linespoints title 'erased'" -echo "set title 'yaffs free space and erased space'" +echo "set title 'yaffs free space vs erased space'" +echo "set xlabel 'seconds'" +echo "set ylabel 'chunks'" + echo $plot_str