uWSGI {{uwsgi.version}} Control Center

information | options | logs | signals | workers | applications | rpc {% if uwsgi.cluster() %}| cluster{% endif %}
{% with messages = get_flashed_messages() %} {% if messages %}
{% endif %} {% endwith %}

Information

hostname: {{ hostname }}
nodename: {{uwsgi.cluster_node_name()}}
uid: {{ uid }}
gid: {{ gid }}
cwd: {{ cwd }}
mode: {{uwsgi.mode}}
loop: {{uwsgi.loop}}
started_on: {{uwsgi.started_on|unixtime}}
workers: {{uwsgi.numproc}}
cores: {{ uwsgi.cores }}
masterpid: {{uwsgi.masterpid()}}
cluster: {{uwsgi.cluster()}}
{% if uwsgi.opt['spooler'] %} spooler pid: {{uwsgi.spooler_pid()}}
{% endif %} {% if uwsgi.has_threads == 1 %} --- threads enabled ---
{% endif %}
back to top

Options

{% for k in uwsgi.opt.keys() %} {{k}}: {{uwsgi.opt[k]}}
{% endfor %}
back to top

Logs (size: {{ uwsgi.logsize() }} bytes)

back to top

Signals

back to top

Workers

{% if 'memory-report' in uwsgi.opt %} {% endif %} {% for w in uwsgi.workers() %} {% if 'memory-report' in uwsgi.opt %} {% endif %} {% endfor %}
# pid status requests exceptions signals running time avg response timerss vsz# respawn
{{w.id}} {{w.pid}} {{w.status}} {{w.requests}} {{w.exceptions}} {{w.signals}} {{w.running_time/1000}} {{w.avg_rt/1000}}{{(w.rss/1000/1000)|round(2,'floor')}}MB {{(w.vsz/1000/1000)|round(2,'floor')}}MB{{w.respawn_count}}

back to top

Applications

{% for w in uwsgi.workers() %} worker {{w.id}} {% for app in w.apps %} {% endfor %}
# modifier1 mountpoint interpreter callable chdir requests exceptions
{{app.id}} {{app.modifier1}} {{app.mountpoint}} {{app.interpreter}} {{app.callable}} {{app.chdir}} {{app.requests}} {{app.exceptions}}


{% endfor %}
back to top
node address (leave empty for local rpc): function: args (separated by space, optional):

back to top
{% if uwsgi.cluster() %}

Cluster nodes

best is {{ uwsgi.cluster_best_node() }}

{% for ucn in uwsgi.cluster_nodes() %} {% endfor %}
hostname socket
{{ uwsgi.cluster_node_name(ucn) }} {{ ucn }}
All cluster nodes

back to top
{% endif %}