uWSGI
{{uwsgi.version}}
Control Center
information
|
options
|
logs
|
workers
|
rpc
{% if uwsgi.cluster() %}|
cluster
{% endif %}
{% with messages = get_flashed_messages() %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% 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()}}
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
Workers
#
pid
requests
exceptions
# respawn
{% for w in uwsgi.workers() %}
{{w.id}}
{{w.pid}}
{{w.requests}}
{{w.exceptions}}
{{w.respawn_count}}
{% endfor %}
back to top
RPC
RPC List
node address (leave empty for local rpc):
function:
args (separated by space, optional):
{% for r in uwsgi.rpc_list() %}
{{ r }}
{% endfor %}
back to top
{% if uwsgi.cluster() %}
Cluster nodes
best is
{{ uwsgi.cluster_best_node() }}
hostname
socket
{% for ucn in uwsgi.cluster_nodes() %}
{{ uwsgi.cluster_node_name(ucn) }}
{{ ucn }}
{% endfor %}
All cluster nodes
back to top
{% endif %}