I'm attempting that INFO command returns multiple sections as follows. 127.0.0.1:6379 > INFO cpu memory # CPU used_cpu_sys:253.68 used_cpu_user:152.78 used_cpu_sys_children:0.00 used_cpu_user_children:0.00 # Memory used_memory:947352 used_memory_human:925.15K used_memory_rss:7090176 used_memory_peak:953760 used_memory_peak_human:931.41K total_system_memory:1960443904 total_system_memory_human:1.83G used_memory_lua:35840 mem_fragmentation_ratio:7.48 mem_allocator:jemalloc-3.6.0 maxmemory_policy:noeviction
Currently INFO command can return only one section, but there is any case where we want to get several informations at same time. This new feature supports to handle multiple sections for INFO command.
If I could get some agreement about this enhancement, I will work on this. Please give me feedbacks.
Regards,
Comment From: charsyam
how about just using info command without argument?
Comment From: MasahikoSawada
I think there are times when it's too many information. And we can not narrow down information of each section using by another command like grep.
Comment From: enjoy-binbin
Currently this feature has been implemented, see https://redis.io/commands/info/