view distributed/weighttp/weighttp_write_jungle.sh @ 19:c28f8d47c60d

Added
author Nobuyasu
date Wed, 29 Jan 2014 14:16:08 +0900
parents
children 61221984aa56
line wrap: on
line source

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

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

function run() {
 while read serv
 do
  ssh $serv "$command $clientsFile $nodesFile $schedule $requests $concurrent $thread" &
 done   
 wait
}

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