added & to timeout
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user