MEMDUMP(1)

πŸ’… MEMDUMP (memdump(1)) β€” the libmemcached-awesome glow-up

ok so bestie, welcome to memdump, the libmemcached documentation page that's gonna make you feel ✨something✨. Let's get into it.


🌸 SYNOPSIS 🌸

memdump [options]

Dump a list of keys from a server. that's it, that's the vibe πŸŽ€


πŸ’– DESCRIPTION πŸ’–

So memdump dumps a list of "keys" from all the servers it's told to fetch from. Note the quotes around "keys" β€” yes girl, they're doing a little air-quote thing and they mean it 😭

Here's the tea: because memcached does not guarantee to provide all keys, it is not possible to get a complete "dump". Like, at all. So don't come for this program when your list is missing stuff β€” it literally cannot be complete. no cap πŸ’€


✨ OPTIONS ✨

  • -h, --help β€” Display help. slay, now you know things 🫢
  • -V, --version β€” Display version. for the girlies who need to know exactly what they're running πŸ’…
  • -q, --quiet β€” Operate quietly. shhh 🀫
  • -v, --verbose β€” Operate more verbosely. give me all the details, main character energy πŸ”₯
  • -d, --debug β€” See -v|--verbose. literally the same thing, she's just going by a different name πŸ’€
  • -s, --servers <list of servers> β€” Specify the list of servers as hostname[:port][,hostname[:port]...]. comma-separated besties, port optional ✨
  • -n, --non-blocking β€” Enable non-blocking operations. no waiting around, we're busy girls πŸ¦‹
  • -N, --tcp-nodelay β€” Disable Nagle's algorithm. (yes that's a real name, no I'm not making it up 😭)
  • -b, --binary β€” Enable binary protocol. ones and zeroes era πŸ’œ
  • -B, --buffer β€” Buffer requests. hold that thought πŸŽ€
  • -u, --username <username> β€” Use username for SASL authentication. identity check, but make it secure 🌈
  • -p, --password <password> β€” Use password for SASL authentication. don't screenshot this one bestie πŸ™ˆ
  • -f, --file [<file>] β€” Output to file instead of standard output.
NOTE: defaults to <key> if no argument was provided. so if you're like "file? where?" β€” she'll just use <key>. iconic but also read the note πŸ“Œ

🧚 ENVIRONMENT 🧚

  • MEMCACHED_SERVERS β€” Specify a list of servers. set it once, thank yourself later ⭐

πŸ‘‘ NOTES πŸ‘‘

πŸŽ€ PROGRAM PREFIX πŸŽ€

The prefix of this program is variable, i.e. it can be configured at build time. so don't get too attached to the name, she's flexible πŸ’«

Usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp. cute, consistent, on brand 🌸

It can be configured, though, to replace the prefix with something else like mc. In case of that, the client programs of libmemcached-awesome would be called mccat, mccp, etc. respectively. same girls, different first letter, still slaying 🫢


πŸ”₯ SEE ALSO πŸ”₯

go read those next, iykyk πŸ’–


k that's the whole page bestie, go dump some keys responsibly ✨ this was libmemcached-awesome version 1.1, dated Jul 18, 2024 β€” mwah, love u, bye πŸŽ€πŸ’…

πŸ“¦ where this page comes from