summaryrefslogtreecommitdiffstats
path: root/extras/benchmarking/launch-script.sh
blob: 5d5050d4146a1fefb09fe98fd0043a9f05dda48f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# This script is to launch the script in parallel across all the nodes.

mount_point="/mnt/glusterfs"
path_to_script="$mount_point}/benchmark/local-script.sh"

num_hosts=8

for i in $(seq 1 $num_hosts); do 
    ssh node$i path_to_script &
done

sleep 3;

touch ${mount_point}/benchmark/start-test