Mercurial > hg > Members > shoshi > cassandra_jungle_benchmark
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stress_write_cassandra.sh Wed Feb 20 20:14:09 2013 +0900 @@ -0,0 +1,18 @@ +#!/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