MEMCAT(1)

πŸ’– MEMCAT(1) πŸ’–

okay bestie, welcome to the memcat page from libmemcached-awesome β€” grab a boba, we're reading keys out of a memcached server and it's gonna be cute and it's gonna be correct. πŸ’…


✨ NAME ✨

memcat β€” libmemcached Documentation


✨ SYNOPSIS ✨

memcat [options] key [key...]

Read and output the value of one key or the values of a set of keys.


🌸 DESCRIPTION 🌸

so memcat reads and outputs the value of a single key β€” or a whole lil squad of keys β€” that are stored in a memcached(1) server. that's it, that's the gig. ✨

if any key is not found, an error is returned. no key, no vibes, sorry bestie. 😭

it's basically the standard UNIX cat(1) utility, but make it memcached. same energy, different server. 🐱

fr fr, if you fw cat, you're gonna fw this.

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” display help. your little "what do i do" button. 🫢
  • -V, --version β€” display version. show me the numbers bestie.
  • -q, --quiet β€” operate quietly. 🀫
  • -v, --verbose β€” operate more verbosely. give me ALL the tea. β˜•
  • -d, --debug β€” see -v|--verbose. it's giving "same thing, different name". πŸ‘―
  • -s, --servers <list of servers> β€” specify the list of servers as hostname[:port][,hostname[:port]...]. that's how you tell it who to talk to. 🌐
  • -n, --non-blocking β€” enable non-blocking operations. no waiting around, no standing in line. πŸ’¨
  • -N, --tcp-nodelay β€” disable Nagle's algorithm. 🚫🐌
  • -b, --binary β€” enable binary protocol.
  • -B, --buffer β€” buffer requests. hold that thought, hold it, hold it… ok go. πŸ“¦
  • -u, --username <username> β€” use username for SASL authentication. πŸ”
  • -p, --password <password> β€” use password for SASL authentication. 🀐
  • -F, --flags β€” display key's flags. 🏴
  • -H, --hash <algorithm> β€” use algorithm as key hash algo. see memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH. πŸ”’
  • -f, --file [<file>] β€” output to file instead of standard output.
NOTE: defaults to <key> if no argument was provided. πŸ’Ύ

🌈 ENVIRONMENT 🌈

  • MEMCACHED_SERVERS β€” specify a list of servers. ✨

πŸ’œ NOTES πŸ’œ

PROGRAM PREFIX

the prefix of this program is variable β€” i.e. it can be configured at build time. πŸ”§

usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp. iconic behavior tbh. 😌

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. so like β€” same program, new name tag. don't panic if the name's a little different than you expected, ok? she's still her. πŸ¦‹


⭐ SEE ALSO ⭐


and that's the whole page, bestie!! πŸ₯³ this was libmemcached-awesome, version 1.1, dated Jul 24, 2026, filed under MEMCAT(1). go forth and memcat responsibly. slay πŸ’…βœ¨

πŸ“¦ where this page comes from