2 # $Id: update.sh,v 1.9 2002-07-03 10:13:30 adam Exp $
6 ../../index/zebraidx -l zebraidx-$t.log init
8 rm -f times-$t.log stat-$t.log
9 while test -f dmoz.$i.xml; do
10 echo -n "$i " >>times-$1.log
12 ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml
14 grep ' zebraidx times:' zebraidx-$t.log | sed 's/.*zebraidx times://g' >>times-$t.log
16 test -d rtmp || mkdir rtmp
23 if test $mod -eq 0; then
24 echo "run $i" >> stat-$t.log
25 ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat >>stat-$t.log
32 title="ISAM-$t `date`"
34 cat >plot.dem <<ENDOFMESSAGE
35 set output "times-$t.ps"
36 set terminal postscript
41 'times-$t.log' using 2 title 'real' with linespoints, \
42 'times-$t.log' using 3 title 'user' with linespoints, \
43 'times-$t.log' using 4 title 'sys' with linespoints