diff --git a/rhodecode/templates/admin/settings/settings_process_management.mako b/rhodecode/templates/admin/settings/settings_process_management.mako --- a/rhodecode/templates/admin/settings/settings_process_management.mako +++ b/rhodecode/templates/admin/settings/settings_process_management.mako @@ -11,22 +11,31 @@

List of Gunicorn processes on this machine

+ <% + def get_name(proc, cmd): + if 'vcsserver.ini' in cmd: + return 'VCSServer' + elif 'rhodecode.ini' in cmd: + return 'RhodeCode' + return proc.name() + %> % for proc in c.gunicorn_processes: <% mem = proc.memory_info()%> <% children = proc.children(recursive=True) %> + <% cmd = ' '.join(proc.cmdline()) %> % if children: @@ -78,7 +87,7 @@ - + % endif % endfor
- ${proc.pid} - ${proc.name()} + ${proc.pid} - ${get_name(proc, cmd)} command RSS:${h.format_byte_size_binary(mem_sum)}
-
--