change ifstat to kilobytes instead of kilobits

This commit is contained in:
Marc Mance
2024-06-21 13:12:53 -04:00
parent ed4d3c3d1a
commit a25fc6cc2e
2 changed files with 3 additions and 2 deletions

View File

@@ -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 &

View File

@@ -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",