From 798de9489a5f3909da73a43a23dd24bedadd88be Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Fri, 2 Aug 2024 15:58:34 -0400 Subject: [PATCH] changed order of collections, gstat to bottom --- collect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/collect.py b/collect.py index e568bca..cd20ac8 100644 --- a/collect.py +++ b/collect.py @@ -433,6 +433,7 @@ def main(): try: print("Starting Collection") + collect_data(minutes) # Collect data if is_freebsd(): @@ -451,8 +452,6 @@ def main(): # Create a Popen object with stdout redirected to the file process = subprocess.Popen(gstat_command, stdout=output_file) - collect_data(minutes) - # # kill gstat if freebsd if is_freebsd(): process.terminate()