comparison stress_write_cassandra.sh @ 0:580b2753e17c default tip

hg init
author Shoshi TAMAKI
date Wed, 20 Feb 2013 20:14:09 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:580b2753e17c
1 #!/bin/sh
2 #
3 #PBS -q tqueue
4 #PBS -N write_cassandra
5 #PBS -l walltime=00:05:00
6
7 script=/home/mass/share/student/k118585/stress_write_cassandra.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