From 6eddb086e807746fa78441adeccaf95ff0772a43 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Tue, 30 Apr 2024 15:46:15 -0400 Subject: [PATCH] updated duration --- collect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collect.sh b/collect.sh index 3600b5e..7f4b890 100755 --- a/collect.sh +++ b/collect.sh @@ -10,7 +10,7 @@ echo "Airgapped Systems will need to exfiltrate /root/*.csv" 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) +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