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:
a382ef2
)
run data in sub directory
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 31 Aug 2010 12:51:40 +0000
(14:51 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 31 Aug 2010 12:51:40 +0000
(14:51 +0200)
perf/bash/par_fixed_clients.sh
patch
|
blob
|
history
diff --git
a/perf/bash/par_fixed_clients.sh
b/perf/bash/par_fixed_clients.sh
index
7684481
..
04d8524
100755
(executable)
--- a/
perf/bash/par_fixed_clients.sh
+++ b/
perf/bash/par_fixed_clients.sh
@@
-12,6
+12,10
@@
PORT=$2
SERVICE=$3
CLIENT_SCRIPT="client_timed.sh"
rm -f *.time
+export TMP_DIR=run_`date +"%Y%m%d_%H%M%S"`/
+mkdir ${TMP_DIR}
+rm -f latest
+ln -s ${TMP_DIR} latest
while test $r -lt $ROUNDS; do
echo "$r"
i=0
@@
-30,6
+34,6
@@
while test $r -lt $ROUNDS; do
let r=$r+1
done
wait
-cat *.time >> timed.$SERVICE.$NUMBER.log
+cat ${TMP_DIR}*.time >> ${TMP_DIR}timed.$SERVICE.$NUMBER.log
#wget --tries=1 -O x "http://localhost:${PORT}/?command=exit"