client kill
CLIENT
CLIENT KILL [ip:port] [ID client-id] [TYPE normal|master|slave|pubsub] [ADDR ip:port] [SKIPME yes/no]
The CLIENT KILL command closes a given client connection. Up to Redis 2.8.11 it was possible to close a connection only by client address, using the following form:
CLIENT KILL addr:port
The ip:port
should match a line returned by the CLIENT LIST command (addr
field).
However starting with Redis 2.8.12 or greater, the command accepts the following form:
CLIENT KILL <filter> <value> ... ... <filter> <value>
With the new form it is possible to kill clients by different attributes instead of kill