diff --git a/collect.sh b/collect.sh index d766704..f665e73 100755 --- a/collect.sh +++ b/collect.sh @@ -18,10 +18,11 @@ echo "This script will auto uploaded data to ftp.ixsystems.com when completed." echo "It will also copy the '*.csv' files to /var/log" echo "Airgapped systems will need to upload the '*.csv' and/or take a debug." echo "" +echo "If you run this script multiple times, it will append to the CSVs" echo "" echo "Starting ['gstat','iostat','zpool','cpu','nic'] Collection" echo "" -echo -n "minute:" +echo -n "START MINUTE COUNT:" timeout ${minutes}m gstat -C -s -d -o -p -I 60s >> gstat.csv & diff --git a/ifstat.py b/ifstat.py index 0d39a62..657f54f 100644 --- a/ifstat.py +++ b/ifstat.py @@ -5,7 +5,7 @@ import os import time # Define your shell command -command = ["ifstat", "-znq", "-b", "1", "1"] +command = ["ifstat", "-znq", "1", "1"] headerRow = [ "timestamp",