Преглед изворни кода

cmd_htable: command to print htable stats

Daniel-Constantin Mierla пре 5 година
родитељ
комит
095236a99e
1 измењених фајлова са 12 додато и 0 уклоњено
  1. 12 0
      kamcli/commands/cmd_htable.py

+ 12 - 0
kamcli/commands/cmd_htable.py

@@ -131,3 +131,15 @@ def htable_list_tables(ctx):
     \b
     """
     command_ctl(ctx, "htable.listTables", [])
+
+
[email protected](
+    "stats", short_help="Print statistics for hash tables",
+)
+@pass_context
+def htable_stats(ctx):
+    """Print statistics for hash tables
+
+    \b
+    """
+    command_ctl(ctx, "htable.stats", [])