Redis - Server Command Count Command



Redis COMMAND COUNT returns the number of total commands in this Redis server.

Return Value

Integer reply – The number of commands returned by COMMAND.

Syntax

Following is the basic syntax of Redis COMMAND COUNT command.

redis 127.0.0.1:6379> COMMAND COUNT

Example

redis 127.0.0.1:6379> COMMAND COUNT  
(integer) 163 
redis_server.htm
Advertisements