resource monitor support added
authorP2P-Next User <p2p@p2p-next-04-201.grid.pub.ro>
Mon, 22 Nov 2010 12:17:25 +0000 (14:17 +0200)
committerP2P-Next User <p2p@p2p-next-04-201.grid.pub.ro>
Mon, 22 Nov 2010 12:17:25 +0000 (14:17 +0200)
ControlScripts/schedule_client.sh

index 4cae67e..42d78a0 100755 (executable)
@@ -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))]}