more tries

This commit is contained in:
Marc Mance
2024-08-02 15:03:06 -04:00
parent b19764b8a9
commit 566f607851

View File

@@ -436,11 +436,11 @@ def main():
# Collect data
if is_freebsd():
# timeout = f"{minutes}m"
# "timeout",
# timeout,
timeout = f"{minutes}m"
gstat_command = [
"timeout",
timeout,
"gstat",
"-C",
"-s",
@@ -455,7 +455,7 @@ def main():
# with open("gstat.csv", "a") as output_file:
# Create a Popen object with stdout redirected to the file
process = subprocess.Popen(gstat_command)
process = subprocess.Popen(gstat_command, shell=True)
collect_data(minutes)