From 96be09b160e6ee9eda9afba9c1a83c889d20ec08 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Tue, 30 Apr 2024 15:28:01 -0400 Subject: [PATCH] updated zpool iostat with background --- collect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collect.sh b/collect.sh index d603021..edc2c10 100755 --- a/collect.sh +++ b/collect.sh @@ -7,7 +7,7 @@ echo "$greeting" echo "Will auto upload to iXsystem when completed." echo "Airgapped Systems will need to exfiltrate /root/*.csv" -python3 ./collect.zpool.iostat.py --minutes $minutes +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)