statblk 1.28__tar.gz → 1.29__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {statblk-1.28 → statblk-1.29}/PKG-INFO +1 -1
- {statblk-1.28 → statblk-1.29}/statblk.egg-info/PKG-INFO +1 -1
- {statblk-1.28 → statblk-1.29}/statblk.py +5 -5
- {statblk-1.28 → statblk-1.29}/README.txt +0 -0
- {statblk-1.28 → statblk-1.29}/setup.cfg +0 -0
- {statblk-1.28 → statblk-1.29}/setup.py +0 -0
- {statblk-1.28 → statblk-1.29}/statblk.egg-info/SOURCES.txt +0 -0
- {statblk-1.28 → statblk-1.29}/statblk.egg-info/dependency_links.txt +0 -0
- {statblk-1.28 → statblk-1.29}/statblk.egg-info/entry_points.txt +0 -0
- {statblk-1.28 → statblk-1.29}/statblk.egg-info/requires.txt +0 -0
- {statblk-1.28 → statblk-1.29}/statblk.egg-info/top_level.txt +0 -0
@@ -10,11 +10,11 @@ import shutil
|
|
10
10
|
import subprocess
|
11
11
|
try:
|
12
12
|
import multiCMD
|
13
|
-
assert float(multiCMD.version) >= 1.
|
13
|
+
assert float(multiCMD.version) >= 1.37
|
14
14
|
except:
|
15
15
|
import time,threading,io,sys,subprocess,select,string,re,itertools,signal
|
16
16
|
class multiCMD:
|
17
|
-
version='1.
|
17
|
+
version='1.37_min_statblk'
|
18
18
|
__version__=version
|
19
19
|
COMMIT_DATE='2025-09-10'
|
20
20
|
__running_threads=set()
|
@@ -165,7 +165,7 @@ except:
|
|
165
165
|
E=A
|
166
166
|
def V(hdr,rows_):
|
167
167
|
B=hdr;C=[0]*len(B)
|
168
|
-
for A in range(len(B)):C[A]=max(J(B[A]),*(J(B[A])for B in rows_ if A<len(B)))
|
168
|
+
for A in range(len(B)):C[A]=max(0,J(B[A]),*(J(B[A])for B in rows_ if A<len(B)))
|
169
169
|
return C
|
170
170
|
P=[]
|
171
171
|
for F in E:
|
@@ -277,7 +277,7 @@ except :
|
|
277
277
|
def cache_decorator(func):
|
278
278
|
return func
|
279
279
|
|
280
|
-
version = '1.
|
280
|
+
version = '1.29'
|
281
281
|
VERSION = version
|
282
282
|
__version__ = version
|
283
283
|
COMMIT_DATE = '2025-09-11'
|
@@ -537,7 +537,7 @@ def get_drives_info(print_bytes = False, use_1024 = False, mounted_only=False, b
|
|
537
537
|
if parent_name:
|
538
538
|
if parent_name not in smart_infos:
|
539
539
|
smart_infos[parent_name] = multiCMD.run_command(f'{SMARTCTL_PATH} -H {parent_name}',timeout=2,quiet=True,wait_for_return=False,return_object=True)
|
540
|
-
if
|
540
|
+
if block_device not in tptDict:
|
541
541
|
sysfs_block_path = os.path.join('/sys/class/block', os.path.basename(block_device))
|
542
542
|
tptDict[block_device] = get_read_write_rate_throughput_iter(sysfs_block_path)
|
543
543
|
mount_table = parseMount()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|