Release Notes
Announcements
COMMAND arg1 arg2 ... [node ID], facilitating the retrieval of information for specified nodes. Node ID details can be obtained on the node management page in the Tencent Cloud Distributed Cache console or via the cluster nodes command.info [section] [node ID]
server: The general information of a Redis server.clients: The information of connected clients.memory: The information of memory usage.persistence: The information of RDB and AOF.stats: The general statistics.replication: The information of master/replica replication.cpu: The information of CPU usage.commandstats: The statistics of Redis commands.cluster: The information of a Redis cluster.keyspace: statistics of databaseall: Returns all the information.default: Returns the default information.
slowlog get [Redis node ID]slowlog get [slow log quantity][Redis node ID]

flushdb [Redis node ID]
cd-crs-rhxxxay.sql.tencentcdb.com:24894> flushdb f2f3c387b9fab0e67af02039845c60278b13bed0OK
ping [message] [node ID]
[ crs-rh**** | DB0 ] # PING "PONG" f2f3c3************************PONG[ crs-rh**** | DB0 ] # PING "hello world"hello world
keys [pattern] [Redis node ID]
keys a* f2f3c3*************************

scan cursor [MATCH pattern] [COUNT count] [Redis node ID]
[ crs-******** | DB0 ] # scan 0 f2f3c3*************************1) "2"
# Use telnet to connect to the instancetelnet <Instance_Host> <Instance_Port>
telnet 10.0.0.12 6379Trying 10.0.0.12...Connected to 10.0.0.12.Escape character is '^]'.
# Perform authentication after successful connectionauth <password># A return of +OK indicates successful authentication.# Execute the IMonitor command to monitor the specified nodeimonitor <Redis node ID>
# Execute the IMonitor command to monitor the specified nodeimonitor <Redis shard node ID>
imonitor 3dba154c67925520ef1a1e2c41d8cc22d7f4****+OK+1680504260.729707 [0 127.0.0.1:6379] "auth" "******"+1680504260.736070 [0 127.0.0.1:6379] "info" "commandstats"
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback