Mercurial > hg > Members > toma > benchmark
annotate stress_write.sh @ 5:91b6bf5c7a39
add write test
author | Daichi TOMA |
---|---|
date | Tue, 02 Jul 2013 18:11:52 +0900 |
parents | |
children | 678c260c0dc7 |
rev | line source |
---|---|
5 | 1 #!/bin/sh |
2 # | |
3 #PBS -q tqueue | |
4 #PBS -N read_jungle_bldsv10 | |
5 #PBS -l walltime=00:05:00 | |
6 | |
7 script=/home/mass/share/student/k128569/benchmark/stress_write.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 |