modified commands

This commit is contained in:
Marc Mance
2024-05-29 18:27:37 -04:00
parent e68681e00f
commit 48b5bf9abb

View File

@@ -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