COMMAND COUNT
Syntax
COMMAND COUNT
Time complexity: O(1)
ACL categories: @slow, @connection
Returns the number of total commands in this Dragonfly server.
Return
Integer reply: number of commands returned by COMMAND
.
Examples
dragonfly> COMMAND COUNT
(integer) 283
Tips
- Counts only non-hidden commands (commands marked with the
HIDDEN
flag are excluded fromCOMMAND
). - Equivalent to the number of elements returned by
COMMAND
without subcommands.