Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Redis Command Count Command

Redis Command Count Command

Redis Server

The Redis Command Count command is used to count the number of redis commands.

Syntax

The basic syntax of the redis Command Count command is as follows:



redis 127.0.0.1:6379> COMMAND COUNT

Available Version

= 2.8.13

Return Value

The number of redis commands.

Example



redis 127.0.0.1:6379> COMMAND COUNT

(integer) 163

Redis Server