File: concurrent.sh

package info (click to toggle)
libjgroups-java 2.12.2.Final-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,712 kB
  • sloc: java: 109,098; xml: 9,423; sh: 149; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 247 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash


count=0
while [ $count -lt 20 ]
do
  echo "Starting Draw instance #$count"
  # change the IP address to your system
  jgroups.sh org.jgroups.demos.Draw -props /home/bela/udp.xml -name $count  &
  #  sleep 1
  count=$(($count+1))
done