From e114a4f34adda691940c75159254ba8bb82a8ab2 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Thu, 30 May 2024 12:24:26 -0400 Subject: [PATCH] testing --- ixiostat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixiostat.py b/ixiostat.py index 0e5cbfb..2a36c55 100644 --- a/ixiostat.py +++ b/ixiostat.py @@ -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