Skip to content

Commit 2e1464c

Browse files
committed
top 3 for mitcounters
1 parent d043b04 commit 2e1464c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aci-preupgrade-validation-script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5260,7 +5260,7 @@ def apic_database_size_check(cversion, **kwargs):
52605260
collect_stats_cmd = 'cat /debug/'+apic_hostname+'/'+dme+'/mitmocounters/mo | grep -v ALL | sort -rn -k3'
52615261
top_class_stats = run_cmd(collect_stats_cmd, splitlines=True)
52625262

5263-
for svc_stats in top_class_stats[:3]:
5263+
for svc_stats in top_class_stats[:4]:
52645264
if ":" in svc_stats:
52655265
class_name = svc_stats.split(":")[0].strip()
52665266
mo_count = svc_stats.split(":")[1].strip()

0 commit comments

Comments
 (0)