Redis Config Get Command

Redis Server

The Redis Config Get command is used to obtain the configuration parameters of the Redis service.

In Redis 2.4, some parameters cannot be accessed with CONFIG GET, but in the latest Redis 2.6 version, all configuration parameters can be accessed with CONFIG GET.

Syntax

The basic syntax of the redis Config Get command is as follows:

redis 127.0.0.1:6379> CONFIG GET parameter

Available Versions

>= 2.0.0

Return Value

The value of the given configuration parameter.

Example

redis 127.0.0.1:6379> config get *max-*-entries* 
1) "hash-max-zipmap-entries"
2) "512"
3) "list-max-ziplist-entries"
4) "512"
5) "set-max-intset-entries"
6) "512"

Redis Server

Other Extensions