CLIENT ID
Syntax
CLIENT ID
Time complexity: O(1)
ACL categories: @slow, @connection
Return the unique ID of the current client connection.
The ID can be used with other client-management commands such as CLIENT KILL ID <id>
or CLIENT LIST
output correlation.
Return
Integer reply: the current connection's client ID.
Examples
dragonfly> CLIENT ID
(integer) 123