From 3cf9c8cb4f76d7b9e01d8f9d97aa26e0402a9f25 Mon Sep 17 00:00:00 2001 From: Sarthak Aggarwal Date: Tue, 21 Jan 2025 15:09:41 -0800 Subject: [PATCH] amending client help command Signed-off-by: Sarthak Aggarwal --- src/networking.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/networking.c b/src/networking.c index 82c0bf5ee7..1eaeb28c86 100644 --- a/src/networking.c +++ b/src/networking.c @@ -3866,6 +3866,16 @@ void clientHelpCommand(client *c) { " Kill connections subscribed to a matching subscribed channel.", " * SUBSCRIBED-SHARD-CHANNEL ", " Kill connections subscribed to a matching subscribe shard channel.", + " * LIB-NAME ", + " Kill connections with the specified library name.", + " * LIB-VER ", + " Kill connections with the specified library version.", + " * TOT-NET-IN ", + " Kill connections with total network input greater than or equal to the specified value.", + " * TOT-NET-OUT ", + " Kill connections with total network output greater than or equal to the specified value.", + " * DB ", + " Kill connections currently operating on the specified database ID.", "LIST [options ...]", " Return information about client connections. Options:", " * TYPE (NORMAL|PRIMARY|REPLICA|PUBSUB)", @@ -3894,6 +3904,16 @@ void clientHelpCommand(client *c) { " Return clients subscribed to the specified subscribed-channel.", " * SUBSCRIBED-SHARD-CHANNEL ", " Return clients subscribed to the specified subscribe shard channel.", + " * LIB-NAME ", + " Return clients with the specified lib name.", + " * LIB-VER ", + " Return clients with the specified lib version.", + " * TOT-NET-IN ", + " Return clients with total network input greater than or equal to the specified value.", + " * TOT-NET-OUT ", + " Return clients with total network output greater than or equal to the specified value.", + " * DB ", + " Return clients currently operating on the specified database ID.", "UNPAUSE", " Stop the current client pause, resuming traffic.", "PAUSE [WRITE|ALL]",