Mercurial > hg > Members > shoshi > jungle_benchmark_script
annotate stress_read_jungle.sh @ 0:28b900ca0be8 default tip
hg init
author | Shoshi TAMAKI |
---|---|
date | Mon, 11 Mar 2013 15:05:24 +0900 |
parents | |
children |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 #PBS -q tqueue | |
4 #PBS -N read_jungle_kvm_bldsv10 | |
5 #PBS -l walltime=00:05:00 | |
6 | |
7 script=/home/mass/share/student/k118585/stress_read_jungle.rb | |
8 | |
9 function run() { | |
10 while read serv | |
11 do | |
12 ssh $serv "/usr/bin/ruby $script $schedule $times" & | |
13 done | |
14 wait | |
15 } | |
16 | |
17 uniq $PBS_NODEFILE /tmp/nodes | |
18 run < /tmp/nodes |