modified commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user