moving order back

This commit is contained in:
Marc Mance
2024-08-02 16:00:32 -04:00
parent 798de9489a
commit 6e79655a28

View File

@@ -433,8 +433,6 @@ def main():
try:
print("Starting Collection")
collect_data(minutes)
# Collect data
if is_freebsd():
# timeout = f"{minutes}m"
@@ -452,6 +450,8 @@ 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()