Mercurial > hg > Members > nobuyasu > jungle_benchmark
view stress_write_cassandra.sh @ 16:704bcc773b96
Modifed capistrano file
author | Nobuyasu |
---|---|
date | Fri, 24 Jan 2014 18:09:16 +0900 |
parents | f94fc7812cd8 |
children |
line wrap: on
line source
#!/bin/sh # #PBS -q cqueue #PBS -N write_jungle #PBS -l walltime=00:05:00 script=/home/mass/share/student/k128576/jungle_benchmark/stress_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