view stress_read.sh @ 0:21d45c3484bb

Initial commit
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Tue, 02 Jul 2013 15:41:37 +0900
parents
children df590d4c29bd
line wrap: on
line source

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

script=/home/mass/share/student/k128569/stress_read.rb

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

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