File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ except ImportError:
3535
3636
3737__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
38- __version__ = '2025090701 '
38+ __version__ = '2025090702 '
3939
4040DESCRIPTION = """Checks disk I/O bandwidth over time and alerts on sustained saturation, not
4141short spikes. The check records per-disk read/write counters and then derives current (R1/W1)
@@ -173,7 +173,7 @@ def top(count):
173173 totals = {} # name -> {'r': bytes, 'w': bytes}
174174 msg = ''
175175
176- # Preferred path (psutil >= 5.3.0): pull only the attrs we need and avoid exceptions
176+ # Prefer attrs path (psutil >= 5.3.0): fewer syscalls, fewer exceptions
177177 if lib .version .version (psutil .__version__ ) >= lib .version .version ('5.3.0' ):
178178 try :
179179 for p in psutil .process_iter (attrs = ['name' , 'io_counters' ], ad_value = None ):
You can’t perform that action at this time.
0 commit comments