diff --git a/collect.sh b/collect.sh index 68e17e6..8c1d4c3 100755 --- a/collect.sh +++ b/collect.sh @@ -11,13 +11,13 @@ echo "" iterations=$1 echo "Starting gstat Collection" -timeout "$minutes"m gstat -C -s -d -o -p -I 60s > /root/gstat.csv & +timeout "$minutes"m gstat -C -s -d -o -p -I 60s > gstat.csv & echo "Starting iostat Collection" for (( i=1; i<=$iterations; i++ )); do # Execute the command python3 ixiostat.py - +echo "minute: $i" # Wait for 60 seconds before the next iteration sleep 60 done