Viewing Client Connection Information of a DCS Instance
You can view the client connection information of a DCS instance and disconnect clients.
Notes and Constraints
The session management page displays only the information about the external client connections. Information about the Web CLI connections is not displayed.
Procedure
- Log in to the management console, and choose Application > Distributed Cache Service in the service list.
- Click in the upper left corner of the management console and select the region where your instance is located.
- In the navigation pane, choose Cache Manager.
- Click a DCS instance to go to the details page.
- Click the Sessions tab.
- Information about client connections of the instance is displayed.
- For Proxy Cluster and read/write splitting instances, connections to proxy nodes are displayed. For single-node, master/standby, and Redis Cluster instances, connections to Redis Server nodes are displayed.
- On the page, you can specify a Redis Server or proxy node to query, enter an address, update the query results, and set columns to display.
Figure 1 Managing sessions
Table 1 Session fields Field
Description
ID
Unique ID of a session.
addr
Session address. If IP pass-through is enabled, this address is referred to the client IP address. If not, this address is a private IP address.
name
Client name, which can be configured using setClientName (...) in the code. This parameter can be left blank.
cmd
The last command executed.
age
Connection duration, in seconds.
idle
Idle connection duration, in seconds.
db
The DB identifier in the last executed command, for example, the value of DB0 is 0.
flags
Connection flags. M indicates a connection from a master node. S indicates a connection from a standby node. For other flags, see https://redis.io/docs/latest/commands/client-list/.
fd
File descriptor.
sub
Number of channel subscriptions.
psub
Number of pattern matching subscriptions.
multi
Number of commands run in transactions or Lua scripts. The value -1 indicates that no such command is executed.
qbuf
Query buffer length (bytes).
qbuf-free
Free space of the query buffer (bytes).
obl
Output buffer length.
oll
Output list length.
omem
Output buffer memory usage (bytes).
events
File descriptor events (readable, writable). Read: r; Write: w.
- Select connections to kill and click Kill Selected to disconnect the corresponding clients. You can also click Kill All.
If a disconnected client can reconnect, it will be automatically reconnected after being disconnected.
- To export sessions data, click Export. You can export all or selected data.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.