added some debuging
This commit is contained in:
@@ -14,8 +14,9 @@ iterations=$1
|
|||||||
for (( i=1; i<=$iterations; i++ )); do
|
for (( i=1; i<=$iterations; i++ )); do
|
||||||
# Execute the command
|
# Execute the command
|
||||||
echo "Executing $i Iteration"
|
echo "Executing $i Iteration"
|
||||||
|
echo "Processing zpool iostat"
|
||||||
python3 ixiostat.py
|
python3 ixiostat.py
|
||||||
|
echo "Processing gstat"
|
||||||
gstat -C -s -d -o -p -I 60s >> /root/gstat.csv
|
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