4 echo "Usage: bench-ssh.sh <NODES> <OPTIONS>"
9 if [ "`echo $1 | cut -c1`" = "-" -o $# -eq 0 ]; then break; fi
17 echo "Creating nodes-ssh.txt"
21 echo "$h:9001" >> nodes-ssh.txt
22 count=`expr $count + 1`
26 echo "Killing old processes"
28 scp -q nodes-ssh.txt $h:$dir
29 ssh $h killall -q ctdb_bench
35 if [ $i -eq `expr $count - 1` ]; then
36 ssh $h $dir/bin/ctdb_bench --nlist $dir/nodes-ssh.txt --listen $h:9001 --socket $h$options
38 ssh -f $h $dir/bin/ctdb_bench --nlist $dir/nodes-ssh.txt --listen $h:9001 --socket $h $options