Mercurial > hg > Members > nobuyasu > jungle_benchmark
view cassandra_write_loop_qsub.sh @ 13:e3fe67fee803
adde hello_post.rb
author | Nobuyasu |
---|---|
date | Mon, 20 Jan 2014 17:01:44 +0900 |
parents | 5ea96ce6a1c1 |
children |
line wrap: on
line source
#!/bin/sh start=1 finish=45 for i in `seq $start $finish` do echo "current count = $i" qsub -e /home/mass/share/student/k128576/jungle_benchmark/error_log/ -o /home/mass/share/student/k128576/jungle_benchmark/log/ -v times=5000,schedule=`expr $(date +%s) + 5` -l nodes=$i:ppn=4 /home/mass/share/student/k128576/jungle_benchmark/stress_write_cassandra.sh while [ "x`qstat`" != "x" ] do echo "waiting for job to complete" sleep 5 done echo "job complete" sleep 15 done