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