English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Redis Config Get Command

Redis Server

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

In Redis 2.4 In versions, some parameters cannot be accessed using CONFIG GET, but in the latest Redis 2.6 In versions, all configuration parameters can be accessed using 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.

Online Examples

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