view stress_write_cassandra.sh @ 0:580b2753e17c default tip

hg init
author Shoshi TAMAKI
date Wed, 20 Feb 2013 20:14:09 +0900
parents
children
line wrap: on
line source

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

script=/home/mass/share/student/k118585/stress_write_cassandra.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