Mercurial > hg > Members > nobuyasu > jungle_benchmark
annotate distributed/weighttp/weighttp_write_jungle.sh @ 22:d6d3b7180e6d
Added calc_sd_from_log.rb
author | Nobuyasu |
---|---|
date | Thu, 30 Jan 2014 21:48:09 +0900 |
parents | a972a5814b0b |
children |
rev | line source |
---|---|
19 | 1 #!/bin/sh |
2 # | |
20 | 3 #PBS -q bqueue |
19 | 4 #PBS -N write_jungle |
5 #PBS -l walltime=00:05:00 | |
6 | |
22 | 7 command=/home/mass/share/student/k128576/jungle_benchmark/distributed/weighttp/stress_write_jungle.sh |
19 | 8 |
9 function run() { | |
21 | 10 i=0 |
19 | 11 while read serv |
12 do | |
21 | 13 ssh $serv "$command $i $nodesFile $schedule $requests $concurrent $thread" & |
14 i=`expr $i + 1` | |
19 | 15 done |
16 wait | |
17 } | |
18 | |
19 uniq $PBS_NODEFILE /tmp/nodes | |
20 run < /tmp/nodes |