CONFIG GET

Since 1.1.0Server

Syntax

CONFIG GET parameter [parameter ...]

Returns the settings whose names match a glob-style pattern, * for all, as name-value pairs.

Examples

> CONFIG GET maxmemory*
1) "maxmemory"
2) "0"
3) "maxmemory-policy"
4) "noeviction"
5) "maxmemory-samples"
6) "5"
7) "maxmemory-clients"
8) "0"