8 if test -z "$PORT"; then
15 H="http://localhost:${PORT}/search.pz2"
17 /usr/bin/time --format "$OF, init, %e" wget -q -O $OF.init.xml "$H/?command=init&service=${SERVICE}&extra=$OF" 2> $OF.init.time
18 S=`xsltproc get_session.xsl $OF.init.xml`
19 /usr/bin/time --format "$OF, search, %e" wget -q -O $OF.search.xml "$H?command=search&query=${QUERY}&session=$S" 2> $OF.search.time
22 /usr/bin/time --format "$OF, show, %e" wget -q -O $OF.show.xml "$H?command=show&session=$S" 2> $OF.show.time
23 AC=`xsltproc get_activeclients.xsl ${OF}.show.xml`
24 echo "Active clients: $AC "
25 if [ "${AC}" != "0" ] ; then
26 echo "Active clients: ${AC}"
27 /usr/bin/time --format "$OF, show2, %e" wget -q -O $OF.show.xml "$H?command=show&session=$S" 2>> $OF.show.time
28 AC=`xsltproc get_session.xsl $OF.show.xml`