Mercurial > hg > Members > toma > benchmark
annotate stress_write_cass.sh @ 11:0beb45ff4aac default tip
add stress_write_cass
author | Daichi TOMA |
---|---|
date | Mon, 15 Jul 2013 09:53:28 +0900 |
parents | |
children |
rev | line source |
---|---|
11 | 1 #!/bin/sh |
2 # | |
3 #PBS -q tqueue | |
4 #PBS -N write_jungle_bldsv10 | |
5 #PBS -l walltime=00:05:00 | |
6 | |
7 script=/home/mass/share/student/k128569/benchmark/stress_write_cass.rb | |
8 | |
9 function run() { | |
10 while read serv | |
11 do | |
12 ssh $serv "/usr/local/bin/ruby $script $schedule $times" & | |
13 done | |
14 wait | |
15 } | |
16 | |
17 uniq $PBS_NODEFILE /tmp/nodes | |
18 run < /tmp/nodes |