view linux-tests/drive_gnuplot.sh @ 401:7d524c984100

Tweak nfs support Fix problem that caused a regression in busybox rm on directories with many files. Limit the feature to only compile with more recent kernels that have all the required features. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
author Charles Manning <cdhmanning@gmail.com>
date Wed, 14 Apr 2010 11:24:26 +1200
parents fab223fcc02c
children
line wrap: on
line source

#!/bin/sh
# drive_gnuplot syntehsises the commands for driving gnuplot

the_log_file=data

plot_str=" plot 'trunc_data' using 1:3 with linespoints title 'free', '' using 1:4 with linespoints title 'erased'"

echo "set title 'yaffs free space and erased space'"

echo $plot_str
 
while true; do
sleep 1
tail -500 $the_log_file > trunc_data
echo replot
done