Redis watch command

watch -n 1 -d “redis-cli -h 10.8.7.108 -p 6380 info | grep -e “connected_clients” -e “blocked_clients” -e “used_memory_human” -e “used_memory_peak_human” -e “rejected_connections” -e “evicted_keys” -e “instantaneous””

watch -n 5 -d “redis-cli -h 10.8.7.108 -p 6380 info | grep -e “connected_clients” -e “blocked_clients” -e “used_memory_human” -e “used_memory_peak_human” -e “rejected_connections” -e “evicted_keys” -e “instantaneous””

Leave a Comment

Your email address will not be published.