changes
This commit is contained in:
@@ -9,17 +9,12 @@ echo "Airgapped Systems will need to exfiltrate /root/*.csv"
|
||||
echo ""
|
||||
|
||||
|
||||
|
||||
|
||||
iterations=$1
|
||||
|
||||
for (( i=1; i<=$iterations; i++ )); do
|
||||
# Execute the command
|
||||
python3 ixiostat.py
|
||||
gstat -C -s -d -o -p -I 60s >> /root/gstat.csv
|
||||
|
||||
|
||||
|
||||
# Wait for 60 seconds before the next iteration
|
||||
sleep 60
|
||||
done
|
||||
|
||||
@@ -6,6 +6,7 @@ from datetime import datetime
|
||||
|
||||
|
||||
def convert_to_machine_readable(date_string):
|
||||
print(f"converting {date_string}")
|
||||
# Define the format string considering the time zone information (EDT)
|
||||
format_string = "%a %b %d %H:%M:%S %p %Z %Y"
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user