2 # $Id: update.sh,v 1.6 2002-06-19 13:26:45 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
13 grep ' zebraidx times:' zebraidx-$t.log | sed 's/.*zebraidx times://g' >>times-$t.log
14 ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat >>stat-$t.log
21 cat >plot.dem <<ENDOFMESSAGE
22 set output "times-$t.ps"
23 set terminal postscript
28 'times-$t.log' using 2 title 'real' with linespoints, \
29 'times-$t.log' using 3 title 'user' with linespoints, \
30 'times-$t.log' using 4 title 'sys' with linespoints