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
|
iterations=$1
|
||||||
|
|
||||||
for (( i=1; i<=$iterations; i++ )); do
|
for (( i=1; i<=$iterations; i++ )); do
|
||||||
# Execute the command
|
# Execute the command
|
||||||
$gstat
|
python3 ixiostat.py
|
||||||
$iostat
|
gstat -C -s -d -o -p -I 60s >> /root/gstat.csv
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Wait for 60 seconds before the next iteration
|
# Wait for 60 seconds before the next iteration
|
||||||
sleep 60
|
sleep 60
|
||||||
|
|||||||
Reference in New Issue
Block a user