updated print statement

This commit is contained in:
Marc Mance
2024-04-30 15:42:34 -04:00
parent 96be09b160
commit fd5dbaeefc

View File

@@ -12,6 +12,7 @@ python3 ./collect.zpool.iostat.py --minutes $minutes &
start_time=$(date +%s) # Get start time in seconds since epoch
duration=$(($1*60)) # Set duration in seconds (here: 5 minutes)
echo "running gstat"
gstat -C -s -d -o -p -I 60s > /root/gstat.csv & # Run the command in the background
while [[ $(($(date +%s) - $start_time)) -lt $duration ]]; do