From 48b5bf9abbc15b952a92ce09aab7746c03850b03 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Wed, 29 May 2024 18:27:37 -0400 Subject: [PATCH] modified commands --- collect.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/collect.sh b/collect.sh index 5d46e8f..b178f37 100755 --- a/collect.sh +++ b/collect.sh @@ -10,15 +10,15 @@ echo "" -iostat="python3 ixiostat.py " -gstat="gstat -C -s -d -o -p -I 60s >> /root/gstat.csv" iterations=$1 for (( i=1; i<=$iterations; i++ )); do # Execute the command - $gstat - $iostat +python3 ixiostat.py +gstat -C -s -d -o -p -I 60s >> /root/gstat.csv + + # Wait for 60 seconds before the next iteration sleep 60