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
b7f667b5
Commit
b7f667b5
authored
Oct 10, 2011
by
antirez
Browse files
Issue #131. stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia.
parent
067ad37f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
b7f667b5
...
...
@@ -1285,10 +1285,10 @@ sds genRedisInfoString(void) {
uptime,
uptime/(3600*24),
(unsigned long) server.lruclock,
(
float
)
self_ru
.
ru_utime
.
tv_sec
+
(
float
)
self_ru
.
ru_utime
.
tv_usec
/
1000000
,
(float)self_ru.ru_stime.tv_sec+(float)self_ru.ru_stime.tv_usec/1000000,
(
float
)
c
_ru
.
ru_utime
.
tv_sec
+
(
float
)
c
_ru
.
ru_utime
.
tv_usec
/
1000000
,
(float)
self
_ru.ru_utime.tv_sec+(float)
self
_ru.ru_utime.tv_usec/1000000,
(float)c_ru.ru_stime.tv_sec+(float)c_ru.ru_stime.tv_usec/1000000,
(float)c_ru.ru_utime.tv_sec+(float)c_ru.ru_utime.tv_usec/1000000,
listLength(server.clients)-listLength(server.slaves),
listLength(server.slaves),
lol, bib,
...
...
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