Redis Config Get Command
The Redis Config Get command is used to get the configuration parameters of the redis service.
In Redis 2.4, some parameters could not be accessed with CONFIG GET, but in the latest Redis 2.6, 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 Version
= 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"