From 207c98b1c3cb5ced3f62b60a615f39ba2e43d323 Mon Sep 17 00:00:00 2001 From: P2P-Next User Date: Mon, 22 Nov 2010 14:17:25 +0200 Subject: [PATCH] resource monitor support added --- ControlScripts/schedule_client.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ControlScripts/schedule_client.sh b/ControlScripts/schedule_client.sh index 4cae67e..42d78a0 100755 --- a/ControlScripts/schedule_client.sh +++ b/ControlScripts/schedule_client.sh @@ -109,6 +109,9 @@ for ((i = 0; i < ${#suspend_resume[@]}; i += 2)); do suspend_client ${client_pid} old_time=${suspend_resume[$i]} + # Monitor client's resources + ./hook_monitor_pid $client_pid >> $REMOTE_PATH/P2P-Testing-Infrastructure/ClientWorkingFolders/TmpLogs/\$(hostname).log.mon 2>&1 & + # Client is suspended. Sleeping until the client should be restarted. When i wake up i will start the client test_infinite ${suspend_resume[$(($i+1))]} -- 2.20.1