MEMSTAT(1)

πŸ’– MEMSTAT β€” bestie edition πŸ’–

okay so this is memstat, manual section 1, straight outta libmemcached-awesome. pull up a chair, we're reading a manpage together and it's gonna be adorable.


✨ NAME ✨

memstat β€” libmemcached Documentation πŸŽ€


🌸 SYNOPSIS 🌸

memstat [options] [stat args]

Gather statistics from a server. yes bestie, that's the whole vibe check ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

memstat dumps the state of memcached(1) servers πŸ’… it literally just tells you what's going on inside them. And where does all that delicious data go? It prints all data to stdout. every last crumb. periodt.


πŸ’œ OPTIONS πŸ’œ

  • -h, --help β€” Display help 🫢 (your little "what do I do now" button)
  • -V, --version β€” Display version ⭐
  • -q, --quiet β€” Operate quietly 🀫 lowkey, silent, mysterious
  • -v, --verbose β€” Operate more verbosely πŸ—£οΈ it will NOT stop talking
  • -d, --debug β€” See -v|--verbose. literally the same thing, no cap
  • -s, --servers <list of servers> β€” Specify the list of servers as hostname[:port][,hostname[:port]...] 🌈
  • -n, --non-blocking β€” Enable non-blocking operations πŸ”₯
  • -N, --tcp-nodelay β€” Disable Nagle's algorithm πŸ’€ sorry Nagle
  • -b, --binary β€” Enable binary protocol 🧚
  • -B, --buffer β€” Buffer requests πŸ“
  • -u, --username <username> β€” Use username for SASL authentication πŸ‘‘
  • -p, --password <password> β€” Use password for SASL authentication πŸ”
  • -A, --args <stat> β€” Stat args.
DEPRECATED: use positional arguments. (it's giving "we moved on" 😭)
  • -a, --analyze [<arg>] β€” Analyze and print differences of a server cluster. A memory and uptime comparison is performed by default πŸ“Š

Options:

  • --analyze[=default] β€” Memory and uptime comparison.
  • --analyze=latency β€” Network latency comparison.
  • -S, -server-version β€” Obtain and print server version(s) only πŸ‘‘
  • --iterations β€” Iteration count of GETs sent by the latency test (default: 1000). πŸ”’

🌈 ENVIRONMENT 🌈

  • MEMCACHED_SERVERS β€” Specify a list of servers. your fave little env var, she's iconic πŸ’–

πŸŽ€ NOTES πŸŽ€

🧚 PROGRAM PREFIX

The prefix of this program is variable, i.e. it can be configured at build time. so it's not set in stone, it's customizable, she's flexible like that ✨

Usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp. cute right? matching namesakes 🫢

It can be configured, though, to replace the prefix with something else like mc, and in case of that, the client programs of libmemcached-awesome would be called mccat, mccp, etc. respectively. same besties, different name tag πŸ’…


πŸ’« SEE ALSO πŸ’«


okay bestie that's the whole page!! you ate that fr fr πŸ“πŸ’–

this was libmemcached-awesome, version 1.1, dated Jul 24, 2026 β€” go forth and memstat, main character πŸŒŸπŸ¦‹ no cap, ily, bye!! πŸ’…βœ¨

πŸ“¦ where this page comes from