testing
This commit is contained in:
@@ -46,7 +46,7 @@ def runZpoolIostat():
|
||||
for pool in pools:
|
||||
if i == 0:
|
||||
# get timestamp
|
||||
timestamp = pool.splitlines()[0].strip()
|
||||
timestamp = int(pool.splitlines()[0].strip())
|
||||
# Convert to human-readable time using time.localtime()
|
||||
local_time = time.localtime(timestamp)
|
||||
# Format the time components for a more readable output
|
||||
|
||||
Reference in New Issue
Block a user