Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
skinny.wu
9 years ago
Commit
ddaf9ebd31e36afd0160568a42aefcaf773aa67e
2 parents
8f80ddd1
0f4cb834
Merge branch 'dev-sk'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
monitor-ui-web/src/main/webapp/script/redis/redis_info_list.js
monitor-ui-web/src/main/webapp/script/redis/redis_info_list.js
View file @
ddaf9eb
...
...
@@ -42,8 +42,9 @@ function loadRedisMonitorData() {
var
cccc
=
obj
.
paramMonitor
.
split
(
";"
);
awsIp
+=
"<div class='clearfix mt20'>"
;
awsIp
+=
"<div class='pull-left'><h5 class='md-title nomargin'>总连接数</h5><h4 class='nomargin'>"
+
cccc
[
1
].
split
(
":"
)[
1
]
+
"</h4></div>"
;
awsIp
+=
"<div class='pull-left' style='margin-left: 135px'><h5 class='md-title nomargin'>当前连接数</h5><h4 class='nomargin' style='margin-left: 20px'>"
+
cccc
[
2
].
split
(
":"
)[
1
]
+
"</h4></div>"
;
awsIp
+=
"<div class='pull-left'><h5 class='md-title nomargin'>当前连接数</h5><h4 class='nomargin'>"
+
cccc
[
2
].
split
(
":"
)[
1
]
+
"</h4></div>"
;
awsIp
+=
"<div class='pull-left' style='margin-left: 135px'><h5 class='md-title nomargin'>caps</h5><h4 class='nomargin' style='margin-left: 20px'>"
+
parseInt
(
Number
(
cccc
[
4
].
split
(
":"
)[
1
]))
+
"</h4></div>"
;
awsIp
+=
"<div class='pull-right'><h5 class='md-title nomargin'>挂起时间</h5><h4 class='nomargin' style='margin-left: 20px'>"
+
parseInt
(
Number
(
cccc
[
3
].
split
(
":"
)[
1
])
/
(
24
*
60
*
60
))
+
" 天前</h4></div>"
;
awsIp
+=
"</div></div></div></div>"
;
}
else
if
(
obj
.
isFailed
==
0
)
{
...
...
Please
register
or
login
to post a comment