From f52874844452b869ff33b9839c8033efedcaad93 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Tue, 3 Aug 2010 23:13:54 +0300 Subject: [PATCH] ControlScripts: use log file for output of schedule_client --- ControlScripts/run_scenario.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ControlScripts/run_scenario.sh b/ControlScripts/run_scenario.sh index b676299..21da493 100755 --- a/ControlScripts/run_scenario.sh +++ b/ControlScripts/run_scenario.sh @@ -116,7 +116,7 @@ scenario_schedule() echo "---------------------- scenario_schedule" >> $ERR_LOG while IFS=$'\t' read SERVER PORT USER REMOTE_PATH REMOTE_IF DL_BW DL_BURST UL_BW UL_BURST TC_SCRIPT CLIENT_TYPE TORRENT_FILE PERIODS; do echo " ** Scheduling $SERVER:$PORT" - if ! ssh -f -p $PORT ${USER}@${SERVER} "cd $REMOTE_PATH/P2P-Testing-Infrastructure/ControlScripts; ./schedule_client.sh ${CLIENT_TYPE} ${TORRENT_FILE} \"${PERIODS}\"" &>> $ERR_LOG; then + if ! ssh -f -p $PORT ${USER}@${SERVER} "cd $REMOTE_PATH/P2P-Testing-Infrastructure/ControlScripts; ./schedule_client.sh ${CLIENT_TYPE} ${TORRENT_FILE} \"${PERIODS}\" &> $REMOTE_PATH/P2P-Testing-Infrastructure/ClientWorkingFolders/TmpLogs/\$(hostname).log" &>> $ERR_LOG; then echo "Error: error running client_schedule.sh on $SERVER" break fi -- 2.20.1