moved gstat to local folder

This commit is contained in:
Marc Mance
2024-05-29 18:48:09 -04:00
parent 1633a437f1
commit cab95ec8fb

View File

@@ -11,13 +11,13 @@ echo ""
iterations=$1 iterations=$1
echo "Starting gstat Collection" 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" echo "Starting iostat Collection"
for (( i=1; i<=$iterations; i++ )); do for (( i=1; i<=$iterations; i++ )); do
# Execute the command # Execute the command
python3 ixiostat.py python3 ixiostat.py
echo "minute: $i"
# Wait for 60 seconds before the next iteration # Wait for 60 seconds before the next iteration
sleep 60 sleep 60
done done