projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb33c6
)
New script from dennis_threading branch
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 4 May 2010 20:17:26 +0000
(22:17 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 4 May 2010 20:17:26 +0000
(22:17 +0200)
perf/bash/range.sh
[new file with mode: 0644]
patch
|
blob
diff --git a/perf/bash/range.sh
b/perf/bash/range.sh
new file mode 100644
(file)
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