parse show interface $port adsl-status
[APKPM.git] / public / redis.html
index 144ce0b..e27a3ec 100644 (file)
     RedisCntl.$inject = ['$xhr','$defer'];
   </script>
   <div ng:controller="RedisCntl">
-<h1>ADSL</h1>
-{{response.status['poll.start']}} -
-{{response.status['poll.finish']}}
-<table>
-<tr><th colspan=2>queued</th><td>{{response.status['poll.queued']}}</td></tr>
-<tr><th rowspan=2>ping</th><th>OK</th><td>{{response.status['poll.ping.ok']}}</td></tr>
-<tr><th>ERROR</th><td>{{response.status['poll.ping.error']}}</td></tr>
-<tr><th colspan=2>ADSL</th><td>{{response.status['poll.adsl.ok']}}</td></tr>
-</table>
+<h1>CPE</h1>
+{{response.status['CPE.start']}} -
+{{response.status['CPE.finish']}}
+<pre>{{response.status.poll.CPE}}</pre>
 
 <h1>ZTEDSLAM</h1>
 {{response.status['ZTEDSLAM.poll.start']}} -
 {{response.status['ZTEMSAN.poll.finish']}}
 <pre>{{response.status.poll.ZTEMSAN}}</pre>
 
+<div>
+       <a href="http://redis.io">Redis</a>
+              {{response.status.info.redis_version}}
+       using  {{response.status.info.used_memory_human}}
+       with   {{response.status.info.connected_clients}} clients
+       uptime {{response.status.info.uptime_in_days}} days
+</div>
+
     <p><input type=checkbox name=debug>
     <pre ng:show="debug">
 url={{url}}