{% load memcache_status_tags %} {% load i18n %} {% memcache_status as memcache_status %} {% if memcache_status %}

Memcache Status:

{% for server in memcache_status %}
{# ----- Detailed Statistics ----- #} {% for k,v in server.stats.items %} {% endfor %}
{{ server.name }} — {{ server.address }} — {% widthratio server.stats.bytes server.stats.limit_maxbytes 100 %}% load
{% trans "Miss Ratio" %} {% widthratio server.stats.get_misses server.stats.cmd_get 100 %}%
{% trans "Avg GET by item" %} {% widthratio server.stats.cmd_get server.stats.total_items 1 %}
{% trans "Avg GET by seconds/minutes" %} {% widthratio server.stats.cmd_get server.stats.uptime 1 %}/{% widthratio server.stats.cmd_get server.stats.uptime 60 %}
{% trans "Detailed Statistics:" %}
{{ k|memcache_status_pretty_name }} {{ v|memcache_status_pretty_value:k }}
{% endfor %}
{% else %} {% endif %}