updated minutes
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
greeting="Running perfcollect for $1 minutes"
|
minutes=$1
|
||||||
|
|
||||||
|
greeting="Running perfcollect for $minutes minutes"
|
||||||
echo "$greeting"
|
echo "$greeting"
|
||||||
echo "Will auto upload to iXsystem when completed."
|
echo "Will auto upload to iXsystem when completed."
|
||||||
echo "Airgapped Systems will need to exfiltrate /root/*.csv"
|
echo "Airgapped Systems will need to exfiltrate /root/*.csv"
|
||||||
|
|
||||||
python3 ./collect.zpool.iostat.py --minutes $1
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user