File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,18 @@ instead of killing just by address. The following filters are available:
2626* ` CLIENT KILL DB db ` . Kill clients operating on the specified database id.
2727* ` CLIENT KILL IP ip ` . Kill clients with the specified originating IP address.
2828* ` CLIENT KILL CAPA capa ` . Kill clients that have the specified capabilities.
29+ * ` CLIENT KILL NOT-ID client-id [client-id ...] ` . Kill clients are not in the IDs set.
30+ * ` CLIENT KILL NOT-TYPE type ` . Kill clients are not in the specified type.
31+ * ` CLIENT KILL NOT-ADDR ip:port ` . Kill clients except the specified ip and port.
32+ * ` CLIENT KILL NOT-LADDR ip:port ` . Kill all clients not connected to specified local (bind) address.
33+ * ` CLIENT KILL NOT-USER username ` . Closes all the connections that are not authenticated with the specified [ ACL] ( ../topics/acl.md ) username.
34+ * ` CLIENT KILL NOT-FLAGS flags ` . Kill clients not with the specified flag string.
35+ * ` CLIENT KILL NOT-NAME name ` . Kill clients not with the specified name.
36+ * ` CLIENT KILL NOT-LIB-NAME lib-name ` . Kill clients not using the specified library name.
37+ * ` CLIENT KILL NOT-LIB-VER lib-version ` . Kill clients not with the specified library version.
38+ * ` CLIENT KILL NOT-DB db ` . Kill clients not with the specified database ID.
39+ * ` CLIENT KILL NOT-CAPA capa ` . Kill clients not with the specified capabilities.
40+ * ` CLIENT KILL NOT-IP ip ` . Kill clients not with the specified IP address.
2941
3042It is possible to provide multiple filters at the same time. The command will handle multiple filters via logical AND. For example:
3143
Original file line number Diff line number Diff line change @@ -37,6 +37,30 @@ You can use one or more optional arguments to filter the list:
3737
3838- ** ` CAPA capa ` ** : Filters the list to include only clients with the specified capabilities.
3939
40+ - ** ` NOT-ID client-id [client-id ...] ` ** : Excludes clients in the IDs set.
41+
42+ - ** ` NOT-TYPE type ` ** : Excludes clients of the specified type.
43+
44+ - ** ` NOT-ADDR ip:port ` ** : Excludes clients of the specified address and port.
45+
46+ - ** ` NOT-LADDR ip:port ` ** : Excludes clients connected to the specified local address and port.
47+
48+ - ** ` NOT-USER user ` ** : Excludes clients of the specified user.
49+
50+ - ** ` NOT-FLAGS flags ` ** : Excludes clients with the specified flag string.
51+
52+ - ** ` NOT-NAME name ` ** : Excludes clients with the specified name.
53+
54+ - ** ` NOT-LIB-NAME lib-name ` ** : Excludes clients using the specified library name.
55+
56+ - ** ` NOT-LIB-VER lib-ver ` ** : Excludes clients with the specified library version.
57+
58+ - ** ` NOT-DB db ` ** : Excludes clients with the specified database ID.
59+
60+ - ** ` NOT-CAPA capa ` ** : Excludes clients with the specified capabilities.
61+
62+ - ** ` NOT-IP ip ` ** : Excludes clients with the specified IP address.
63+
4064Filters can be combined to perform more precise searches. The command will handle multiple filters via logical AND.
4165
4266Here is the meaning of the fields:
You can’t perform that action at this time.
0 commit comments