Przeglądaj źródła

cmd_htable: command to print htable stats

Daniel-Constantin Mierla 5 lat temu
rodzic
commit
095236a99e
1 zmienionych plików z 12 dodań i 0 usunięć
  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", [])