${_('Gunicorn process management')}

List of Gunicorn processes on this machine

% for proc in c.gunicorn_processes: <% mem = proc.memory_info()%> <% children = proc.children(recursive=True) %> % if children: <% mem_sum = 0 %> % for proc_child in children: <% mem = proc_child.memory_info()%> % endfor % endif % endfor
${proc.pid} - ${proc.name()} command RSS:${h.format_byte_size_binary(mem.rss)} VMS:${h.format_byte_size_binary(mem.vms)} MASTER
| ${proc_child.pid} - ${proc_child.name()} command CPU: ${proc_child.cpu_percent()} % RSS:${h.format_byte_size_binary(mem.rss)} <% mem_sum += mem.rss %> VMS:${h.format_byte_size_binary(mem.vms)} restart
| total processes: ${len(children)} RSS:${h.format_byte_size_binary(mem_sum)}
-