Complete the command to check Redis memory usage.
INFO [1]The INFO memory command shows memory usage details in Redis.
Complete the command to get the peak memory usage in Redis.
INFO memory | grep [1]The used_memory_peak field shows the highest memory Redis has used.
Fix the error in the command to show memory fragmentation ratio.
INFO memory | grep [1]The correct field name is mem_fragmentation_ratio in Redis INFO memory output.
Fill both blanks to create a command that shows used memory and peak memory.
INFO memory | grep -E '[1]|[2]'
This command uses grep with a pattern to show both used_memory and used_memory_peak fields.
Fill all three blanks to create a command that shows used memory, peak memory, and fragmentation ratio.
INFO memory | grep -E '[1]|[2]|[3]'
This command filters the INFO memory output to show used_memory, used_memory_peak, and mem_fragmentation_ratio fields.