Redis Server: CLIENT LIST
Description
Redis CLIENT LIST command is used to return information and statistics about the client connections server in a mostly human readable format.
Syntax:
Basic syntax of redis CLIENT LIST command is shown below:
CLIENT LIST
Available since
2.4.0.
Return Value
Bulk string reply, a unique string.
- One client connection per line (separated by LF)
- Each line is composed of a succession of property=value fields separated by a space character.
Description of fields
- id: a unique 64-bit client ID
- addr: address/port of the client
- fd: file descriptor corresponding to the socket
- age: total duration of the connection in seconds
- idle: idle time of the connection in seconds
- flags: client flags (see below)
- db: current database ID
- sub: number of channel subscriptions
- psub: number of pattern matching subscriptions
- multi: number of commands in a MULTI/EXEC context
- qbuf: query buffer length (0 means no query pending)
- qbuf-free: free space of the query buffer (0 means the buffer is full)
- obl: output buffer length
- oll: output list length (replies are queued in this list when the buffer is full)
- omem: output buffer memory usage
- events: file descriptor events (see below)
- cmd: the last command played
Return Value Type
String
Previous:
CLIENT KILL
Next:
CLIENT GETNAME
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework