From 1633a437f1cad84bda27de871e697bde4200a926 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Wed, 29 May 2024 18:46:30 -0400 Subject: [PATCH] added & to timeout --- collect.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/collect.sh b/collect.sh index b147747..68e17e6 100755 --- a/collect.sh +++ b/collect.sh @@ -8,11 +8,10 @@ echo "Will auto upload to iXsystem when completed." echo "Airgapped Systems will need to exfiltrate /root/*.csv" echo "" - iterations=$1 echo "Starting gstat Collection" -timeout "$minutes"m gstat -C -s -d -o -p -I 60s > /root/gstat.csv +timeout "$minutes"m gstat -C -s -d -o -p -I 60s > /root/gstat.csv & echo "Starting iostat Collection" for (( i=1; i<=$iterations; i++ )); do