From fd5dbaeefc3fd4716fadc0989398ea40d7c3057e Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Tue, 30 Apr 2024 15:42:34 -0400 Subject: [PATCH] updated print statement --- collect.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/collect.sh b/collect.sh index edc2c10..ae31048 100755 --- a/collect.sh +++ b/collect.sh @@ -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