CLIENT INFO

Syntax
CLIENT INFO
Available since:
Redis CE 6.2.0
Time complexity:
O(1)
ACL categories:
@slow, @connection,

The command returns information and statistics about the current client connection in a mostly human readable format.

The reply format is identical to that of CLIENT LIST, and the content consists only of information about the current client.

Examples

redis> CLIENT INFO
"id=690076 addr=127.0.0.1:54330 laddr=127.0.0.1:6379 fd=13 name= age=835825 idle=0 flags=N db=0 sub=0 psub=0 ssub=0 multi=-1 watch=0 qbuf=26 qbuf-free=20448 argv-mem=10 multi-mem=0 rbs=1024 rbp=4 obl=0 oll=0 omem=0 tot-mem=22426 events=r cmd=client|info user=interwebz redir=-1 resp=2 lib-name= lib-ver=
"
redis>

RESP2/RESP3 Reply

Bulk string reply: a unique string for the current client, as described at the CLIENT LIST page.
RATE THIS PAGE
Back to top ↑