updated zpool iostat with background

This commit is contained in:
Marc Mance
2024-04-30 15:28:01 -04:00
parent f0c2eb748a
commit 96be09b160

View File

@@ -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)