Dispatchers

The dispatchers spawn RPC instances and provide relevant statistics.
This interface allows you to "Attach" to (see the output of), pause, resume and shutdown instances.

<%= erb :flash, {:layout => false} %> <% i = 0 %> <% stats.each_pair do |d_url, dispatcher_stats| %>

<%=show_dispatcher_line( dispatcher_stats )%>

<%=show_dispatcher_node_line( dispatcher_stats ) %>

<% if !dispatcher_stats['neighbours'].empty? %>
<%end%>
<% i += 1 %> <%if !dispatcher_stats['running_jobs'].empty? %>
<%= csrf_tag %>
<%end%> <% if !dispatcher_stats['running_jobs'].empty? %> <% dispatcher_stats['running_jobs'].each do |job| %> style='background-color: #ccc'<%end%> > <% end %>
PID Port Owner State Progress Start time (Server-side) Current time (Server-side) Runtime Memory usage (%) CPU usage Action
<%=job['pid']%> <%=job['port']%> <%=escape( job['owner'] )%> <%=job['status']%> <%=job['progress']%>% <%=job['starttime'].to_time%> <%=job['currtime'].to_time%> <%=secs_to_hms( job['runtime'] )%> <%=proc_mem( job['proc']['rss'] )%> MB (<%=job['proc']['pctmem']%>%) <%=job['proc']['pctcpu']%>% <% if !( job['owner'] =~/WebUI helper/ )%> <% if !job_is_slave?( job ) %> <% status = ( job['status'] ? job['status'].downcase : '' ) %>
<%if status == 'busy' %>
<%= csrf_tag %>
<%end%> <%if status == 'paused' %>
<%= csrf_tag %>
<% end %>
<%= csrf_tag %>
<% else %> This is <%=escape( job['owner'] )%>'s slave and is sharing the workload for the <%=escape( job['helpers']['target'] )%> scan. <% end %> <% end %>
<% else %>

There are no running scans at the moment. <% end %>

<% end %>