uWSGI {{uwsgi.version}} Control Center

information | options | logs | signals | workers | 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

{% for w in uwsgi.workers() %} {% endfor %}
# pid requests exceptions # respawn
{{w.id}} {{w.pid}} {{w.requests}} {{w.exceptions}} {{w.respawn_count}}

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 %}