COMMAND COUNT

Usage:
COMMAND COUNT
Complexity:
O(1)
Since:
2.8.13

Returns the total number of commands in this Valkey server.

Examples

127.0.0.1:6379> COMMAND COUNT
(integer) 241

RESP2/RESP3 Reply

Integer reply: the number of commands returned by COMMAND.