Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ee3884e6
Commit
ee3884e6
authored
Dec 03, 2017
by
Itamar Haber
Browse files
Improve slowlog help
parent
d884ba4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/slowlog.c
View file @
ee3884e6
...
...
@@ -142,7 +142,8 @@ void slowlogReset(void) {
void
slowlogCommand
(
client
*
c
)
{
if
(
c
->
argc
==
2
&&
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"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."
,
"reset -- Reset the slowlog."
,
NULL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment