From 940c206ba7f136a3b92c8788471b6606724be029 Mon Sep 17 00:00:00 2001 From: Kumar Shivendu Date: Tue, 6 Aug 2024 16:04:39 +0530 Subject: [PATCH] Only copy search and upload in first step (#179) Memory will be collected by qdrant_collect_stats.sh --- tools/run_client_script.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/run_client_script.sh b/tools/run_client_script.sh index dc81cc9c..c20270b9 100644 --- a/tools/run_client_script.sh +++ b/tools/run_client_script.sh @@ -28,12 +28,10 @@ ssh -tt -o ServerAliveInterval=60 -o ServerAliveCountMax=3 "${SERVER_USERNAME}@$ SEARCH_RESULT_FILE=$(ssh "${SERVER_USERNAME}@${IP_OF_THE_CLIENT}" "ls -t results/*-search-*.json | head -n 1") UPLOAD_RESULT_FILE=$(ssh "${SERVER_USERNAME}@${IP_OF_THE_CLIENT}" "ls -t results/*-upload-*.json | head -n 1") -VM_RSS_MEMORY_USAGE_FILE=$(ssh "${SERVER_USERNAME}@${IP_OF_THE_CLIENT}" "ls -t results/vm-rss-memory-usage-*.txt | head -n 1") -RSS_ANON_MEMORY_USAGE_FILE=$(ssh "${SERVER_USERNAME}@${IP_OF_THE_CLIENT}" "ls -t results/rss-anon-memory-usage-*.txt | head -n 1") mkdir -p results -for RESULT_FILE in $SEARCH_RESULT_FILE $UPLOAD_RESULT_FILE $VM_RSS_MEMORY_USAGE_FILE $RSS_ANON_MEMORY_USAGE_FILE; do +for RESULT_FILE in $SEARCH_RESULT_FILE $UPLOAD_RESULT_FILE; do # -p preseves modification time, access time, and modes (but not change time) scp -p "${SERVER_USERNAME}@${IP_OF_THE_CLIENT}:~/${RESULT_FILE}" "./results" done