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:
26
26
* ` CLIENT KILL DB db ` . Kill clients operating on the specified database id.
27
27
* ` CLIENT KILL IP ip ` . Kill clients with the specified originating IP address.
28
28
* ` 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.
29
41
30
42
It is possible to provide multiple filters at the same time. The command will handle multiple filters via logical AND. For example:
31
43
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:
37
37
38
38
- ** ` CAPA capa ` ** : Filters the list to include only clients with the specified capabilities.
39
39
40
+ - ** ` NOT-ID client-id [client-id ...] ` ** : Excludes clients in the IDs set.
41
+
42
+ - ** ` NOT-TYPE ` ** : Excludes clients of the specified type.
43
+
44
+ - ** ` NOT-ADDR ` ** : Excludes clients of the specified address and port.
45
+
46
+ - ** ` NOT-LADDR ` ** : Excludes clients connected to the specified local address and port.
47
+
48
+ - ** ` NOT-USER ` ** : Excludes clients of the specified user.
49
+
50
+ - ** ` NOT-FLAGS ` ** : Excludes clients with the specified flag string.
51
+
52
+ - ** ` NOT-NAME ` ** : Excludes clients with the specified name.
53
+
54
+ - ** ` NOT-LIB-NAME ` ** : Excludes clients using the specified library name.
55
+
56
+ - ** ` NOT-LIB-VER ` ** : Excludes clients with the specified library version.
57
+
58
+ - ** ` NOT-DB ` ** : Excludes clients with the specified database ID.
59
+
60
+ - ** ` NOT-CAPA ` ** : Excludes clients with the specified capabilities.
61
+
62
+ - ** ` NOT-IP ` ** : Excludes clients with the specified IP address.
63
+
40
64
Filters can be combined to perform more precise searches. The command will handle multiple filters via logical AND.
41
65
42
66
Here is the meaning of the fields:
You can’t perform that action at this time.
0 commit comments