From b3f8721332717b25a34dd8e4a688029cebc98ed9 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Tue, 4 May 2010 22:17:26 +0200 Subject: [PATCH] New script from dennis_threading branch --- perf/bash/range.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 perf/bash/range.sh diff --git a/perf/bash/range.sh b/perf/bash/range.sh new file mode 100644 index 0000000..d24b2ec --- /dev/null +++ b/perf/bash/range.sh @@ -0,0 +1,21 @@ + +r=$1 +MAX=$2 +PORT=$3 +SERVICE=$4 +RANGE=range +rm -f init.stat search.stat show.stat $RANGE.stat +while test $r -le $MAX ; do + sh par_fixed_clients.sh $r $PORT $SERVICE + sh stat_file.sh $r $SERVICE >> $RANGE.stat + let r=$r+1 +done + +DIR=run_`date +"%Y%m%d_%H%M%S"` +mkdir $DIR +mv *.stat *.log *.time $DIR + +#mv init.stat $PID.init.stat +#mv search.stat $PID.search.stat +#mv show.stat $PID.show.stat +#mv $RANGE.stat $PID.show.stat -- 1.7.10.4