13 lines
275 B
Bash
13 lines
275 B
Bash
|
#!/bin/bash
|
||
|
echo "Usage: $0 host port runNumber numberOfProviders"
|
||
|
|
||
|
if [ $# -eq 4 ]
|
||
|
then
|
||
|
echo "Selected host: $1:$2 runNumber: $3 numberOfProviders: $4"
|
||
|
for i in $(seq 1 $4);
|
||
|
do
|
||
|
echo "Spawning provider number $i"
|
||
|
./prov.out $1 $2 $3 &
|
||
|
done
|
||
|
fi
|