view 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
line wrap: on
line source

#!/bin/sh
#
#PBS -q bqueue
#PBS -N write_jungle
#PBS -l walltime=00:05:00

command=/home/mass/share/student/k128576/jungle_benchmark/distributed/weighttp/stress_write_jungle.sh

function run() {
 i=0
 while read serv
 do
  ssh $serv "$command $i $nodesFile $schedule $requests $concurrent $thread" &
  i=`expr $i + 1`
 done   
 wait
}

uniq $PBS_NODEFILE /tmp/nodes
run < /tmp/nodes