Code Review
/
ep-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6abd955
)
Fix cbstats tasks incorrect key
57/77657/2
author
James Harrison
<00jamesh@gmail.com>
Wed, 3 May 2017 09:51:44 +0000
(10:51 +0100)
committer
Dave Rigby
<daver@couchbase.com>
Thu, 4 May 2017 09:07:39 +0000
(09:07 +0000)
Change-Id: I4c2d3551a2b2a3f1ca213bf3cd9b067140f6e67a
Reviewed-on: http://review.couchbase.org/77657
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
management/cbstats
patch
|
blob
|
history
diff --git
a/management/cbstats
b/management/cbstats
index
acf1541
..
49caf3a
100755
(executable)
--- a/
management/cbstats
+++ b/
management/cbstats
@@
-160,7
+160,7
@@
def tasks_stats_formatter(stats, sort_by=None, reverse=False, *args):
if task["state"] == "RUNNING":
# task is running
task["runtime"] = ps_time_stat(cur_time -
- task["last_starttime"])
+ task["last_starttime
_ns
"])
task["waketime_ns"] = ps_time_stat(0)
running_tasks[task["type"]]+=1
else: