benluteijn / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Command to show Loaded Configuration #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like a command that would show the values of the running config.  If
somebody changes the savepoints enumerated in /etc/redis/redis.conf, there
is no way for me to see that there is a discrepancy between the config file
and in reality.

Think along the lines of MySQL's SHOW GLOBAL VARIABLES.

Original issue reported on code.google.com by ryan.a.l...@gmail.com on 17 Nov 2009 at 4:46

GoogleCodeExporter commented 9 years ago
Here's a quick hack: ./redis-cli set redis.conf "`cat redis.conf`"

Now if you want to see the original config: ./redis-cli get redis.conf

Original comment by youwanta...@gmail.com on 18 Nov 2009 at 5:48

GoogleCodeExporter commented 9 years ago
check the CONFIG command, it is able to do this and even more (especially in 
Redis master).

Original comment by anti...@gmail.com on 23 Aug 2010 at 3:43