Mercurial > hg > Members > nobuyasu > jungle_benchmark
diff stress_read_write_cassandra.sh @ 3:5ea96ce6a1c1
Added some files
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Jan 2014 20:01:21 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stress_read_write_cassandra.sh Wed Jan 08 20:01:21 2014 +0900 @@ -0,0 +1,18 @@ +#!/bin/sh +# +#PBS -q tqueue +#PBS -N read_write_jungle +#PBS -l walltime=00:05:00 + +script=/home/mass/share/student/k128576/jungle_benchmark/stress_read_write_cassandra.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