CLIENT

CLIENT INFO

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=5744 addr=127.0.0.1:35158 laddr=127.0.0.1:6379 fd=8 name= age=223674 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=26 qbuf-free=40928 argv-mem=10 obl=0 oll=0 omem=0 tot-mem=61466 events=r cmd=client user=default redir=-1\n"

Return value

Bulk string reply: a unique string, as described at the CLIENT LIST page, for the current client.

© 2009–2020 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/client-info