<%@page contentType="text/html" import ="qms.group.*,qms.queue.*,qms.queue.actions.*,java.util.*"%>
<%@page pageEncoding="UTF-8"%>
<html>
<%@include file="head.jsp" %>

<h1>Currently running actions</h1>

<p>The scheduler on this nodes has currently started the actions below.</p>
<p>Even if they are currently active, you can not see what they are doing now</p>
<p>In general an action can be <i>waiting</i> for another action to finish</p>
<p>When an action declares itself <i>finished</i> the scheduler removes it from this list and does not allocate CPU anymore to it</p>

<%
    Controller controller = Controller.getLocalInstance();            
    List actions = controller.getActions();
%>


<br>

<table border="1" bgcolor="#CCCCC">
<tr><th align="center">Actions</th></tr>

<%
    for (Iterator i = actions.iterator(); i.hasNext(); ) {
        Action n = (Action) i.next();
%>
<tr><td><%=n.toString()%></td></tr>
<%
    }
%>
</table>


</body>
</html>
