Skip to content

Instantly share code, notes, and snippets.

@KevinBongart
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevinBongart/998410d8e6ee2763f4f6 to your computer and use it in GitHub Desktop.
Save KevinBongart/998410d8e6ee2763f4f6 to your computer and use it in GitHub Desktop.
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