more update
This commit is contained in:
@@ -187,6 +187,9 @@ def collect_data(minutes, interval):
|
||||
|
||||
for i in range(minutes):
|
||||
# Collect data using system commands
|
||||
if i == 0:
|
||||
print("Minute:", end="", flush=True)
|
||||
print(f" {i}", end="", flush=True)
|
||||
|
||||
zpoolIostat()
|
||||
coreifstat()
|
||||
@@ -198,10 +201,8 @@ def collect_data(minutes, interval):
|
||||
if is_freebsd():
|
||||
coreIostat_cpu()
|
||||
|
||||
if i == 0:
|
||||
print("Minute:", end="", flush=True)
|
||||
|
||||
print(f" {i}", end="", flush=True)
|
||||
if i == minutes:
|
||||
break
|
||||
|
||||
time.sleep(interval)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user