updated duration
This commit is contained in:
@@ -10,7 +10,7 @@ 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
|
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"
|
echo "running gstat"
|
||||||
gstat -C -s -d -o -p -I 60s > /root/gstat.csv & # Run the command in the background
|
gstat -C -s -d -o -p -I 60s > /root/gstat.csv & # Run the command in the background
|
||||||
|
|||||||
Reference in New Issue
Block a user