MEMCAT(1)

๐ŸŽ€ NAME ๐ŸŽ€

Ok bestie, welcome to memcat(1) from libmemcached-awesome โ€” this is the manual page, and memcat literally means libmemcached Documentation ๐Ÿ“š๐Ÿ’–.


โœจ SYNOPSIS โœจ

memcat [options] key [key...]

Read and output the value of one key or the values of a set of keys. Slay, that's the whole vibe ๐Ÿซถ.


๐ŸŒธ DESCRIPTION ๐ŸŒธ

memcat reads and outputs the value of a single key or a set of keys stored in a memcached(1) server.

If any key is not found an error is returned. Not the chillest outcome, but that's the rule ๐Ÿ˜ญ.

It is similar to the standard UNIX cat(1) utility. Think cat energy, but for memcached keys ๐Ÿˆโ€โฌ›โœจ.


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -h|--help โ€” Display help. Your little "what do I do" button ๐Ÿซถ.
  • -V|--version โ€” Display version. Know the era you're in ๐Ÿ’ซ.
  • -q|--quiet โ€” Operate quietly. Shhh, main character is working ๐Ÿคซ.
  • -v|--verbose โ€” Operate more verbosely. Turn up the yapping ๐Ÿ—ฃ๏ธ.
  • -d|--debug โ€” See -v|--verbose. Same energy, different flag ๐Ÿ’….
  • -s|--servers <list of servers> โ€” Specify the list of servers as hostname[:port][,hostname[:port]...] ๐ŸŒ.
  • -n|--non-blocking โ€” Enable non-blocking operations. No waiting around, we're busy ๐Ÿฆ‹.
  • -N|--tcp-nodelay โ€” Disable Nagle's algorithm. Bye-bye, delay vibes โšก.
  • -b|--binary โ€” Enable binary protocol. Binary baddie behavior ๐Ÿ”ฅ.
  • -B|--buffer โ€” Buffer requests. Collect the little guys first ๐Ÿงบ.
  • -u|--username <username> โ€” Use username for SASL authentication ๐Ÿ”.
  • -p|--password <password> โ€” Use password for SASL authentication ๐Ÿ”‘.
  • -F|--flags โ€” Display key's flags. Show off those little flag details ๐Ÿšฉ.
  • -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. Env var doing env var things ๐Ÿ’–.

๐ŸŒผ NOTES ๐ŸŒผ

๐ŸŽ€ PROGRAM PREFIX ๐ŸŽ€

The prefix of this program is variable, i.e. it can be configured at build time. Flexible icon behavior โœจ.

Usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp.

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. Name glow-up, no cap ๐Ÿ’….


๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘


This iconic page is from libmemcached-awesome, version 1.1, dated Jul 18, 2024 โ€” bye bestie, go read some keys ๐Ÿ’‹โœจ

๐Ÿ“ฆ where this page comes from