{% extends "admin/admin_widget.html" %} {% load i18n %} {% block widget_content %} {% if cache_stats %} {% for hostname, stats in cache_stats %}
{% trans "Memory Usage" %} | {{stats.bytes|filesizeformat}} |
---|---|
{% trans "Keys in Cache" %} | {{stats.curr_items}} of {{stats.total_items}} |
{% trans "Cache Hits" %} | {{stats.get_hits}} of {{stats.cmd_get}}: {{stats.hit_rate|floatformat:2}}% |
{% trans "Cache Misses" %} | {{stats.get_misses}} of {{stats.cmd_get}}: {{stats.miss_rate|floatformat:2}}% |
{% trans "Cache Evictions" %} | {{stats.evictions}} |
{% trans "Cache Traffic" %} | {{stats.bytes_read|filesizeformat}} in, {{stats.bytes_written|filesizeformat}} out |
{% trans "Uptime" %} | {{uptime.value|floatformat:0}} {{uptime.unit}} |
{% trans "Cache Offline or Unavailable" %}
{% endif %} {% endblock %}