change in verbaige

This commit is contained in:
Marc Mance
2024-07-29 14:16:46 -04:00
parent f691e55502
commit 1607aee34e

View File

@@ -255,13 +255,14 @@ def collect_data(minutes, interval):
time.sleep(interval) time.sleep(interval)
print("")
# kill gstat if freebsd # kill gstat if freebsd
if is_freebsd(): if is_freebsd():
process.kill() process.kill()
def run_debug(): def run_debug():
print("Capturing new debug.") print("Taking new debug.")
command = ["midclt", "call", "system.debug_generate", "-job"] command = ["midclt", "call", "system.debug_generate", "-job"]
try: try:
result = subprocess.run(command, capture_output=True, text=True, check=True) result = subprocess.run(command, capture_output=True, text=True, check=True)