update terminate

This commit is contained in:
Marc Mance
2024-08-01 13:05:42 -04:00
parent 6b6342dfc1
commit 1b2e250847

View File

@@ -390,10 +390,11 @@ def main():
# Collect data # Collect data
if is_freebsd(): if is_freebsd():
timeout = f"{minutes}m" # timeout = f"{minutes}m"
# "timeout",
# timeout,
gstat_command = [ gstat_command = [
"timeout",
timeout,
"gstat", "gstat",
"-C", "-C",
"-s", "-s",
@@ -412,6 +413,7 @@ def main():
# kill gstat if freebsd # kill gstat if freebsd
if is_freebsd(): if is_freebsd():
process.terminate()
process.kill() process.kill()
except KeyboardInterrupt: except KeyboardInterrupt: