more
This commit is contained in:
@@ -179,7 +179,6 @@ def collect_data(minutes, interval):
|
||||
start_time = datetime.now()
|
||||
# Continuously collect data for the specified duration
|
||||
|
||||
print("h3e")
|
||||
if is_freebsd():
|
||||
gstat_command = ["gstat", "-C", "-s", "-d", "-o", "-p", "-I", "5s"]
|
||||
with open("gstat.csv", "a") as output_file:
|
||||
@@ -187,7 +186,7 @@ def collect_data(minutes, interval):
|
||||
process = subprocess.Popen(gstat_command, stdout=output_file)
|
||||
|
||||
for i in range(minutes):
|
||||
print("here")
|
||||
breakpoint()
|
||||
|
||||
if i == 0:
|
||||
print("Minute:", end="")
|
||||
|
||||
Reference in New Issue
Block a user