Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Redis check for Mostro
service: redis
connected_clients: 1
used_memory: 1004336
#!/bin/bash -e
echo "---"
echo "service: redis"
redis-cli info | egrep '^(connected_clients:|used_memory:)' | sed 's/:/: /'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment