diff --git a/uwsgicc/templates/index.html b/uwsgicc/templates/index.html index cb68a780..8301586a 100644 --- a/uwsgicc/templates/index.html +++ b/uwsgicc/templates/index.html @@ -272,6 +272,10 @@ $(document).ready(function() { exceptions running time avg response time +{% if 'memory-report' in uwsgi.opt %} + rss + vsz +{% endif %} # respawn {% for w in uwsgi.workers() %} @@ -282,6 +286,10 @@ $(document).ready(function() { {{w.exceptions}} {{w.running_time/1000}} {{w.avg_rt/1000}} +{% if 'memory-report' in uwsgi.opt %} + {{(w.rss/1000/1000)|round(2,'floor')}}MB + {{(w.vsz/1000/1000)|round(2,'floor')}}MB +{% endif %} {{w.respawn_count}} {% endfor %}