获取持久性存储状态

以下代码将获取持久存储状态的当前配置。这些值可以动态修改,因此它们可能与 redis.conf 中的配置不同:

# get
config get appendonly
config get save