Mercurial > hg > Members > nobuyasu > jungle_benchmark
view distributed/nodes_stress_write_cassandra.sh @ 14:77a01d4fca04
capistrano file
author | Nobuyasu |
---|---|
date | Tue, 21 Jan 2014 09:28:28 +0900 |
parents | 867cd5f213d3 |
children |
line wrap: on
line source
#!/bin/sh # #PBS -q cqueue #PBS -N write_cassandra #PBS -l walltime=00:05:00 script=/home/mass/share/student/k128576/jungle_benchmark/distributed/nodes_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