Created
July 23, 2014 21:24
-
-
Save jdowning/16a7769383c4b5bc9602 to your computer and use it in GitHub Desktop.
Memcached Stats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| (echo stats; sleep 0.1) | telnet localhost 11211 2>&1 | awk '/STAT $1/ {print $NF}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment