view stress_write.sh @ 9:678c260c0dc7

fix
author Daichi TOMA
date Sat, 13 Jul 2013 06:19:04 +0900
parents 91b6bf5c7a39
children 48c3ad9cb64c
line wrap: on
line source

#!/bin/sh
#
#PBS -q tqueue
#PBS -N write_jungle_bldsv10
#PBS -l walltime=00:05:00

script=/home/mass/share/student/k128569/benchmark/stress_write.rb

function run() {
 while read serv
 do
  ssh $serv "/usr/local/bin/ruby $script $schedule $times" &
 done   
 wait
}

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