{% extends "wagtailadmin/base.html" %}
{% load i18n %}
{% block titletag %}{% trans "uWSGI Status" %}{% endblock %}
{% block bodyclass %}uwsgi{% endblock %}
{% block content %}
{% if unavailable %}
{% trans 'ERROR: uWSGI is not available!' as uwsgi_header %}
{% include "wagtailadmin/shared/header.html" with title=uwsgi_header icon="cogs" %}
{% else %}
{% trans "uWSGI Status" as uwsgi_header %}
{% include "wagtailadmin/shared/header.html" with title=uwsgi_header subtitle=version icon="cogs" tabbed="true" merged="true" %}
{% trans 'Information' %}
{% trans "Option" %} |
{% trans "Value" %} |
{% for key, value in stats %}
{{ key }} |
{{ value }} |
{% endfor %}
{% trans "Option" %} |
{% trans "Value" %} |
{% for key, value in options %}
|
{# uWSGI allows to use options without values if value = true #}
{% if value %}{{ value }}{% else %}true{% endif %} |
{% endfor %}
{% trans 'Magic table' %}
{{ magic }}
{% trans "id" %} |
{% trans "pid" %} |
{% trans "status" %} |
{% trans "requests" %} |
{% trans "exceptions" %} |
{% trans "signals" %} |
{% trans "running time(ms)" %} |
{% trans "avg response time(ms)" %} |
{% trans "load" %} |
{% trans "last spawn" %} |
{% trans "respawn count" %} |
{% trans "address space (vsz)" %} |
{% trans "resident memory (rss)" %} |
{% for w in workers %}
{{ w.id }} |
{{ w.pid }} |
{{ w.status }} |
{{ w.requests }} |
{{ w.exceptions }} |
{{ w.signals }} |
{{ w.running_time }} |
{{ w.avg_rt }} |
{{ w.load|floatformat:2 }} % |
{{ w.last_spawn }} |
{{ w.respawn_count }} |
{{ w.vsz|filesizeformat }} |
{{ w.rss|filesizeformat }} |
{% endfor %}
{% trans 'Applications' %}
{% trans "#" %} |
{% trans "modifier1" %} |
{% trans "mountpoint" %} |
{% trans "interpreter" %} |
{% trans "callable" %} |
{% trans "chdir" %} |
{% trans "requests" %} |
{% trans "exceptions" %} |
{% for w in workers %}
{% for app in w.apps %}
{{ app.id }} |
{{ app.modifier1 }} |
{{ app.mountpoint }} |
{{ app.interpreter }} |
{{ app.callable }} |
{{ app.chdir }} |
{{ app.requests }} |
{{ app.exceptions }} |
{% endfor %}
{% endfor %}
{% trans "job filename" %} |
{% trans "environment" %} |
{% for j in jobs %}
{{ j.file }} |
{{ j.env }} |
{% endfor %}
{% endif %}
{% endblock %}