From 39492f4e961e61ae34ba102fdd6add001648915f Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Tue, 30 Jul 2024 18:01:50 -0400 Subject: [PATCH] test --- collect.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collect.py b/collect.py index 58dd75f..a47a922 100644 --- a/collect.py +++ b/collect.py @@ -179,6 +179,7 @@ def collect_data(minutes, interval): start_time = datetime.now() # Continuously collect data for the specified duration + print("h3e") if is_freebsd(): gstat_command = ["gstat", "-C", "-s", "-d", "-o", "-p", "-I", "5s"] with open("gstat.csv", "a") as output_file: @@ -186,7 +187,8 @@ def collect_data(minutes, interval): process = subprocess.Popen(gstat_command, stdout=output_file) for i in range(minutes): - # Collect data using system commands + print("here") + if i == 0: print("Minute:", end="")