MEMTOUCH(1)
π MEMTOUCH(1) β the libmemcached-awesome girlies' guide π
okay so bestie, sit down, grab a strawberry drink π, because we're talking about memtouch, which lives in the libmemcached-awesome manual, section 1. she's a tiny little client program and honestly she's iconic for how simple she is π
β¨ NAME β¨
memtouch β the libmemcached documentation, aka the page you're reading right now, no cap π
β¨ SYNOPSIS β¨
memtouch [options] <key>
that's it. that's the whole vibe check. one key, some options, done. π¦
β¨ DESCRIPTION β¨
so memtouch does a "touch" on the key you give it. that's literally the whole thing, and honestly? love that for her. she's not doing too much, she's just touching your key and moving on. main character energy but make it efficient π
πΈ OPTIONS πΈ
okay this is the part where we go through every single flag, and yes, all of them, because we don't skip π
-h,--helpβ displays help. when in doubt, hit this and let her explain herself π«Ά-V,--versionβ displays the version. cute lil "who am i" moment.-q,--quietβ operate quietly. she's giving stealth mode, minimal chatter π€«-v,--verboseβ operate more verbosely. the opposite of quiet, she's gonna tell you everything π£οΈβ¨-d,--debugβ see-v,--verbose. literally the same thing, she's just wearing a different outfit π- *
-s,--servers<list of servers*> β specify the list of servers ashostname[:port][,hostname[:port]...]. that's the exact format, copy it, don't freestyle it π₯ -n,--non-blockingβ enables non-blocking operations. no waiting around, she's booked and busy β-N,--tcp-nodelayβ disables Nagle's algorithm. yes, the networking one. she said "no buffering delays, we move fast" π¦-b,--binaryβ enables the binary protocol. glow-up protocol, if you will π-B,--bufferβ buffers requests. she's collecting them first, like saving up your snaps π- *
-u,--username<username*> β uses username for SASL authentication. yes bestie, you need credentials for that π -p,--password<password> β uses password for SASL authentication. keep it secret, keep it safe π- *
-H,--hash<algorithm*> β uses algorithm as the key hash algo. seememcached_behavior_t::MEMCACHED_BEHAVIOR_HASH, that's the exact name, don't @ me π§ - *
-e,--expire<expiration*> β uses expiration seconds (or a UNIX timestamp). so you can say "5 minutes" in seconds, or just drop a whole UNIX timestamp in there π
π ENVIRONMENT π
MEMCACHED_SERVERSβ specifies a list of servers. so you can set this in your environment instead of typing-severy single time, and honestly? respectful of your time π
π« NOTES π«
π PROGRAM PREFIX π
okay important detail bestie, listen up:
the prefix of this program is variable, meaning it can be configured at build time. so the name might not always be exactly memtouch, iykyk π
usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp. cute little family πΈ
but it can be configured 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. so don't be shook if you see those names, she just changed her hair πββοΈβ¨
π₯ SEE ALSO π₯
also on the list:
- C/C++ Client Library for memcached
- Update expiration on a key
ngl, this one's short but she ate. touch that key, specify your servers, and go π
and that's the whole page bestie, 100% of the facts, zero skipped flags π«Ά this was version 1.1, dated Jul 18, 2024, and it's the libmemcached-awesome manual's MEMTOUCH(1) page β periodt. πβ¨π
π¦ where this page comes from
- epel 10: libmemcached-awesome-tools 1.1.4-5.el10_0 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms