comparison distributed/weighttp/weighttp_write_jungle.sh @ 21:a972a5814b0b

loop_qsub.sh for jungle benchmark
author Nobuyasu
date Wed, 29 Jan 2014 16:22:02 +0900
parents 61221984aa56
children d6d3b7180e6d
comparison
equal deleted inserted replaced
20:61221984aa56 21:a972a5814b0b
5 #PBS -l walltime=00:05:00 5 #PBS -l walltime=00:05:00
6 6
7 command=/home/mass/share/student/k128576/jungle_benchmark/distributed/weighttp/stress_weighttp.sh 7 command=/home/mass/share/student/k128576/jungle_benchmark/distributed/weighttp/stress_weighttp.sh
8 8
9 function run() { 9 function run() {
10 i=0
10 while read serv 11 while read serv
11 do 12 do
12 ssh $serv "$command /tmp/nodes $nodesFile $schedule $requests $concurrent $thread" & 13 ssh $serv "$command $i $nodesFile $schedule $requests $concurrent $thread" &
14 i=`expr $i + 1`
13 done 15 done
14 wait 16 wait
15 } 17 }
16 18
17 uniq $PBS_NODEFILE /tmp/nodes 19 uniq $PBS_NODEFILE /tmp/nodes