Back to Redis

CLIENT INFO

content/commands/client-info.md

latest1.2 KB
Original Source

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]({{< relref "/commands/client-list" >}}), and the content consists only of information about the current client.

Examples

{{% redis-cli %}} CLIENT INFO {{% /redis-cli %}}

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | |

Return information

{{< multitabs id="client-info-return-info" tab1="RESP2" tab2="RESP3" >}}

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

-tab-sep-

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

{{< /multitabs >}}