8026e53640fad150647a736ba4227343b02add7a
[jabaws.git] / statpages / Statistics.jsp
1 <%--\r
2 Author: Peter Troshin\r
3 Date: May 2011\r
4 --%>\r
5 \r
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>\r
7 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>\r
8 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>\r
9 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>\r
10 \r
11 <jsp:include page="header.jsp" />\r
12     \r
13 <div style="margin: 20px ">    \r
14 \r
15 <h2>JABAWS Usage Statistics for the Period: <fmt:formatDate value="${startDate}" /> to <fmt:formatDate value="${stopDate}"/></h2>\r
16 <h2>All Jobs</h2>\r
17 <c:set var="statistics"  value="${stat.allStat}" scope="request"/>\r
18 <c:set var="totals" value="${statTotal}" scope="request"/>\r
19 <c:import url="StatisticsTable.jsp"/> \r
20 \r
21 <h2>Local Jobs</h2>\r
22 <c:set var="statistics"  value="${stat.localStat}" scope="request"/>\r
23 <c:set var="totals" value="${statTotalLocal}" scope="request"/>\r
24 <c:import url="StatisticsTable.jsp"/>\r
25         \r
26 <h2>Cluster Jobs</h2>\r
27 <c:set var="statistics"  value="${stat.clusterStat}" scope="request"/>\r
28 <c:set var="totals" value="${statTotalCluster}" scope="request"/>\r
29 <c:import url="StatisticsTable.jsp"/>\r
30 \r
31 <div style="width: 600px">\r
32 <h3>Help</h3>\r
33 <p>\r
34 Each table contains the number of jobs processed by JABAWS during the period of \r
35 time specified in the title.</p> \r
36 <ul>\r
37 <li>The "All Jobs" table contains the summary of all jobs.</li> \r
38 <li>"Local Jobs" table - contains the summary of the jobs calculated by the local engine.</li> \r
39 <li>"Cluster Jobs" table - contains the summary of the jobs calculated by the cluster.</li>\r
40 </ul>\r
41 Each table contains the following information for each web service  \r
42 <ul>\r
43         <li>Total - the total number of jobs accepted by a particular JABA service</li>\r
44         <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>\r
45         <li>Cancelled - the number of jobs cancelled by the user</li>\r
46         <li>Abandoned - the number of jobs which result(s) were not collected</li>\r
47 </ul>\r
48 </div> <!-- Help text enclosing dev end -->\r
49 </div> <!-- page enclosing div ends -->\r
50 \r
51 <jsp:include page="footer.jsp" />\r