8 BASE_PORT=$[BASE_PORT+2000]
9 LOCK_PORT=$[BASE_PORT+6]
11 if [ $NUM_LS -gt 1 ]; then
14 while [ $x -lt $NUM_LS ]; do
20 while [ $x -lt $NUM_LS ]; do
23 echo "starting ./lock_server $LOCK_PORT $port > lock_server$x.log 2>&1 &"
24 ./lock_server $LOCK_PORT $port > lock_server$x.log 2>&1 &
28 echo "starting ./lock_server $LOCK_PORT > lock_server.log 2>&1 &"
29 ./lock_server $LOCK_PORT > lock_server.log 2>&1 &