Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions commands/config-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,25 @@ SET`.

`CONFIG GET` takes multiple arguments, which are glob-style patterns.
Any configuration parameter matching any of the patterns are reported as a list
of key-value pairs.
of key-value pairs, sorted alphabetically by keys.
Example:

```
127.0.0.1:6379> config get *max-*-entries* maxmemory
1) "maxmemory"
2) "0"
3) "hash-max-listpack-entries"
1) "hash-max-listpack-entries"
2) "512"
3) "hash-max-ziplist-entries"
4) "512"
5) "hash-max-ziplist-entries"
6) "512"
5) "maxmemory"
6) "0"
7) "set-max-intset-entries"
8) "512"
9) "zset-max-listpack-entries"
9) "set-max-listpack-entries"
10) "128"
11) "zset-max-ziplist-entries"
11) "zset-max-listpack-entries"
12) "128"
13) "zset-max-ziplist-entries"
14) "128"
```

You can obtain a list of all the supported configuration parameters by typing
Expand Down