mirror of
https://github.com/fluencelabs/redis
synced 2025-04-26 02:52:15 +00:00
Improve slowlog help
This commit is contained in:
parent
d884ba4bc9
commit
ee3884e63c
@ -142,7 +142,8 @@ void slowlogReset(void) {
|
|||||||
void slowlogCommand(client *c) {
|
void slowlogCommand(client *c) {
|
||||||
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) {
|
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) {
|
||||||
const char *help[] = {
|
const char *help[] = {
|
||||||
"get [count] -- Return the top entries from the slowlog (default: 10).",
|
"get [count] -- Return top entries from the slowlog (default: 10). Entries are made of:",
|
||||||
|
" id, timestamp, time in microseconds, arguments array, client IP and port, client name",
|
||||||
"len -- Return the length of the slowlog.",
|
"len -- Return the length of the slowlog.",
|
||||||
"reset -- Reset the slowlog.",
|
"reset -- Reset the slowlog.",
|
||||||
NULL
|
NULL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user