w3resource

Redis Server: CONFIG GET parameter

CONFIG GET parameter

Redis CONFIG GET command is used to read the configuration parameters of a running Redis server. The CONFIG GET command takes a single argument, which is a glob-style pattern. All the configuration parameters matching this parameter are reported as a list of key-value pairs.

Syntax:

CONFIG GET parameter 

Available since

2.0.0.

Return Value

The return type of the command is a Bulk string reply.

Return Value Type

String

Example: Redis CONFIG GET

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"

Previous: COMMAND INFO
Next: CONFIG REWRITE



Follow us on Facebook and Twitter for latest update.