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:
ae2da69
)
Configurable COUNT, PORT and SERVICE. Fixed client count will break if running multip...
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 29 May 2012 09:27:21 +0000
(11:27 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 29 May 2012 09:27:21 +0000
(11:27 +0200)
perf/bash/par_timed_forever.sh
patch
|
blob
|
history
diff --git
a/perf/bash/par_timed_forever.sh
b/perf/bash/par_timed_forever.sh
index
fe3a7ee
..
700c465
100755
(executable)
--- a/
perf/bash/par_timed_forever.sh
+++ b/
perf/bash/par_timed_forever.sh
@@
-1
+1,16
@@
-while true ; do sh par_fixed_clients.sh 20 9005 perf_t ; done
+COUNT=20
+if [ "$1" != "" ] ; then
+ COUNT=$1
+fi
+PORT=9004
+if [ "$2" != "" ] ; then
+ PORT=$2
+fi
+# If not specifying SERVICE, using default
+if [ "$3" != "" ] ; then
+ SERVICE=$3
+fi
+while true ; do
+ export TMP_DIR=pid_$$/run_`date +"%Y%m%d_%H%M%S"`/
+ sh par_fixed_clients.sh $COUNT $PORT $SERVICE ;
+done