top-srv.hbs
1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{{#each .}}
<table class="pure-table pure-table-horizontal srvc" data-index={{@index}}>
<tbody>
<tr>
<td title="ip">IP</td>
<td title="{{ip}}">{{ip}}</td>
</tr>
<tr>
<td title="port">PORT</td>
<td title="{{port}}">{{port}}</td>
</tr>
<tr>
<td title="usedMemoryPercent">空间占有</td>
<td title="{{usedMemoryPercent}}">{{usedMemoryPercent}}%</td>
</tr>
<tr>
<td title="memFragmentationRatio">内存碎片</td>
<td title="{{memFragmentationRatio}}">{{memFragmentationRatio}}%</td>
</tr>
<tr>
<td title="connectedClients">并发连接数</td>
<td title="{{connectedClients}}">{{connectedClients}}</td>
</tr>
<tr>
<td title="maxMemory">总空间</td>
<td title="{{maxMemory}}">{{maxMemory}} MB</td>
</tr>
<tr>
<td title="cpuIdle">空闲 CPU</td>
<td title="{{cpuIdle}}">{{cpuIdle}}%</td>
</tr>
<tr>
<td title="redisCpu">REDIS CPU</td>
<td title="{{redisCpu}}">{{redisCpu}}%</td>
</tr>
<tr>
<td title="netWrite">带宽带出</td>
<td title="{{netWrite}}">{{netWrite}} mb/s</td>
</tr>
<tr>
<td title="netRead">带宽带入</td>
<td title="{{netRead}}">{{netRead}} mb/s</td>
</tr>
</tbody>
</table>
{{/each}}