From: Razvan Deaconescu Date: Sun, 21 Nov 2010 21:12:54 +0000 (+0200) Subject: remove 03 from config file; oops occured X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=4c15b14f0de704073088a1e8b0749eefdfd6aa0f;p=utp-swift.git remove 03 from config file; oops occured add campaig_run super script --- diff --git a/all_base_rsync b/all_base_rsync index 885e044..3c9a6fa 100755 --- a/all_base_rsync +++ b/all_base_rsync @@ -1,6 +1,6 @@ #!/bin/bash -ip_array=(141.85.224.201 141.85.224.203 141.85.224.204 141.85.224.205 141.85.224.206 141.85.224.207 141.85.224.208 141.85.224.209 141.85.224.210) +ip_array=(141.85.224.201 141.85.224.204 141.85.224.205 141.85.224.206 141.85.224.207 141.85.224.208 141.85.224.209 141.85.224.210) for ip in ${ip_array[@]}; do ./ct_rsync $ip 22 diff --git a/campaign_run b/campaign_run new file mode 100644 index 0000000..d29bf2e --- /dev/null +++ b/campaign_run @@ -0,0 +1,14 @@ +#!/bin/bash + +while true; do + ./remote_start_swift_session 141.85.224.201 141.85.224.204 & + r1_pid=$! + ./remote_start_utp_session 141.85.224.205 141.85.224.206 & + r2_pid=$! + ./remote_start_swift_session 141.85.224.207 141.85.224.208 & + r3_pid=$! + ./remote_start_utp_session 141.85.224.209 141.85.224.210 & + r4_pid=$! + + wait $r1_pid $r2_pid $r3_pid $r4_pid +done