projects
/
yaffs2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add scripts for realtime plotting erased psace vs free space
[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