« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
Valkey · Extracted in 182 ms

Valkey Command: COMMAND COUNT

Source: https://valkey.io/commands/command-count/

COMMAND COUNT

Usage:
COMMAND COUNT
Complexity:
O(1)
Since:
2.8.13
ACL Categories:
@connection, @slow

Returns the total number of commands in this Valkey server.

Reply

Integer: the number of commands returned by COMMAND.

Examples

127.0.0.1:6379> COMMAND COUNT
(integer) 274
See an error? Update this Page on GitHub!