From 6c1bcae724185f10b426b878b3f021ad2701623d Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Wed, 31 Jul 2024 10:56:11 -0400 Subject: [PATCH] changed debug filename to include perf --- collect.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/collect.py b/collect.py index b245d85..a895d8b 100644 --- a/collect.py +++ b/collect.py @@ -176,7 +176,6 @@ def zpoolIostat(): def collect_data(minutes): if is_freebsd(): - print("Starting gstat collection.") gstat_command = ["gstat", "-C", "-s", "-d", "-o", "-p", "-I", "5s"] with open("gstat.csv", "a") as output_file: # Create a Popen object with stdout redirected to the file @@ -207,7 +206,6 @@ def collect_data(minutes): # kill gstat if freebsd if is_freebsd(): - print("Killing gstat process.") process.kill() @@ -266,7 +264,7 @@ def upload_debug(): "customer:ixcustomer", "-T", debug_file, - f"ftp.ixsystems.com/debug-{hostname}-{datetime.now().strftime('%Y%m%d%H%M')}.tgz", + f"ftp.ixsystems.com/debug-perf-{hostname}-{datetime.now().strftime('%Y%m%d%H%M')}.tgz", ] )