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) 241