Created
December 14, 2021 20:17
-
-
Save jtomson/7583fb149db7ca5e73829f8a18f826b3 to your computer and use it in GitHub Desktop.
dump all memcached keys to file
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
expect -c ' | |
log_file <file> | |
spawn telnet <server> <port> | |
sleep 3 | |
send "lru_crawler metadump all\r" | |
expect "END" | |
' >/dev/null& |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment