CLIENT-INFO(3valkey)
β¨ NAME β¨
client-info β bestie, this is the one that spills the tea on your own connection π«
πΈ SYNOPSIS πΈ
CLIENT INFO
π DESCRIPTION π
Okay so this command hands you information and statistics about the current client connection, in a mostly human readable format. Like, it's not cryptic, it's giving "here's your whole vibe, written down" π
The reply format is identical to that of valkey-client-list(7) CLIENT LIST, and the content consists only of information about the current client. So it's the same shape as the big group photo, except it's just you, solo, main character energy π
π REPLY π
valkey-protocol(7) Bulk string reply: a unique string for the current client, as described at the CLIENT LIST page. One string, all about you, no notes π
β COMPLEXITY β
Not me being O(1) like the icon that I am π constant time, always.
π¦ ACL CATEGORIES π¦
@connection@slow
π HISTORY π
- Available since: 6.2.0 β vintage, but still eating π
π₯ EXAMPLES π₯
127.0.0.1:6379> CLIENT INFO
id=2875 addr=127.0.0.1:38610 laddr=127.0.0.1:6379 fd=10 name= age=0 idle=0 flags=N capa= db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=26 qbuf-free=20448 argv-mem=10 multi-mem=0 rbs=16384 rbp=16384 obl=0 oll=0 omem=0 tot-mem=37786 events=r cmd=client|info user=default redir=-1 resp=2 lib-name= lib-ver=
Look at all that. Every single field, no cap. That's your connection's whole autobiography right there πβ¨
π§ SEE ALSO π§
- auth(3valkey)
- client(3valkey)
- client-caching(3valkey)
- client-capa(3valkey)
- client-getname(3valkey)
- client-getredir(3valkey)
- client-help(3valkey)
- client-id(3valkey)
- client-import-source(3valkey)
- client-kill(3valkey)
- client-list(3valkey)
- client-no-evict(3valkey)
- client-no-touch(3valkey)
- client-pause(3valkey)
- client-reply(3valkey)
- client-setinfo(3valkey)
- client-setname(3valkey)
- client-tracking(3valkey)
- client-trackinginfo(3valkey)
- client-unblock(3valkey)
- client-unpause(3valkey)
- echo(3valkey)
- hello(3valkey)
- ping(3valkey)
- quit(3valkey)
- reset(3valkey)
- select(3valkey)
Ok bestie that's the whole page, go forth and CLIENT INFO responsibly π
This was Valkey 9.0.0, dated 2025-10-21 β mwah, slay, no cap, see u in the next manpage πΈβ¨
π¦ where this page comes from
- fedora 44: valkey-doc 9.0.3-2.fc44 Β· CC-BY-SA-4.0
- fedora 44: valkey-doc 9.0.6-1.fc44 Β· CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms