source: trunk/web/addons/job_monarch/templates/overview.tpl @ 512

Last change on this file since 512 was 512, checked in by bastiaans, 14 years ago

web/addons/job_monarch/templates/overview.tpl,
web/addons/job_monarch/overview.php,
jobmond/jobmond.py:

  • added Craig West's support for offline/down PBS nodes
File size: 5.8 KB
Line 
1<P>
2All tasks of parallel and array jobs appear as a single &lsquo;job&rsquo;.
3<BR></P>
4
5<CENTER>
6<TABLE cellpadding="15">
7<TR>
8
9  <TD>
10
11
12<TABLE ALIGN=CENTER class="overview" cellpadding="5">
13
14<COL id="kol1">
15<COL id="kol2">
16<COL id="kol3">
17<COL id="kol4">
18
19<TR class="overview_header">
20<TD>Batch</TD>
21<TD>Jobs</TD>
22<TD>Nodes</TD>
23<TD>Cpus</TD>
24</TR>
25
26<TR class="overview_line">
27<TD class="blue">
28Capacity
29</TD>
30<TD class="blue">
31</TD>
32<TD class="blue">
33{avail_nodes}
34</TD>
35<TD class="blue">
36{avail_cpus}
37</TD>
38</TR>
39
40
41<TR class="overview">
42<TD class="red">
43Running
44</TD>
45<TD class="red">
46{running_jobs}
47</TD>
48<TD class="red">
49{running_nodes}
50</TD>
51<TD class="red">
52{running_cpus}
53</TD>
54</TR>
55
56<TR class="overview_line">
57<TD class="gray">
58Queued
59</TD>
60<TD class="gray">
61{queued_jobs}
62</TD>
63<TD class="gray">
64{queued_nodes}
65</TD>
66<TD class="gray">
67{queued_cpus}
68</TD>
69</TR>
70
71<TR class="overview">
72<TD class="brown">
73Total
74</TD>
75<TD class="brown">
76{total_jobs}
77</TD>
78<TD class="brown">
79{total_nodes}
80</TD>
81<TD class="brown">
82{total_cpus}
83</TD>
84</TR>
85
86<TR class="overview">
87<TD class="gray">
88Unavailable
89</TD>
90<TD class="gray">
91{na_jobs}
92</TD>
93<TD class="gray">
94{na_nodes}
95</TD>
96<TD class="gray">
97{na_cpus}
98</TD>
99</TR>
100
101<TR class="overview">
102<TD class="green">
103Free
104</TD>
105<TD class="green">
106</TD>
107<TD class="green">
108{free_nodes}
109</TD>
110<TD class="green">
111{free_cpus}
112</TD>
113</TR>
114
115<TR class="overview" id="selected">
116<TD>
117View
118</TD>
119<TD>
120{view_jobs}
121</TD>
122<TD>
123{view_nodes}
124</TD>
125<TD>
126{view_cpus}
127</TD>
128</TR>
129
130</TABLE>
131
132<BR>
133{rjqj_graph}
134
135  <TD ALIGN="CENTER"><CENTER>
136<!-- INCLUDESCRIPT BLOCK : ci_script -->
137    <IMG SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">
138    <MAP NAME="MONARCH_CLUSTER_BIG">
139<!-- START BLOCK : node_clustermap -->
140{node_area_map}
141<!-- END BLOCK : node_clustermap -->
142    </MAP>
143    <BR>
144<FONT class="footer">Last updated: {report_time}</FONT></CENTER>
145  </TD>
146
147  </TD>
148  <TD ALIGN="CENTER">
149    <IMG SRC="{pie}">
150  </TD>
151</TR>
152</TABLE>
153
154<BR>
155
156<SCRIPT TYPE="text/javascript" SRC="libtoga.js"></SCRIPT>
157<NOSCRIPT><P>[Sorting by column header requires JavaScript]<BR><BR></P></NOSCRIPT>
158
159<INPUT TYPE="HIDDEN" NAME="sortby" VALUE="{sortby}">
160<INPUT TYPE="HIDDEN" NAME="sortorder" VALUE="{sortorder}">
161<INPUT TYPE="HIDDEN" NAME="c" VALUE="{clustername}">
162<INPUT TYPE="HIDDEN" NAME="queue" VALUE="{f_queue}">
163<INPUT TYPE="HIDDEN" NAME="state" VALUE="{f_state}">
164<INPUT TYPE="HIDDEN" NAME="user" VALUE="{f_user}">
165<INPUT TYPE="HIDDEN" NAME="id" VALUE="{f_id}">
166<INPUT TYPE="HIDDEN" NAME="filterorder" VALUE="{f_order}">
167
168<TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="2" BORDER=0>
169<TR CLASS="monarch">
170<TH><B><A HREF="#" onClick="setSort( 'id' )" ALT="Jobid" TITLE="Jobid">Id</A></B></TH>
171<TH><B><A HREF="#" onClick="setSort( 'state' )" ALT="State" TITLE="State">S</A></B></TH>
172<TH><B><A HREF="#" onClick="setSort( 'user' )">User</A></B></TH>
173<TH><B><A HREF="#" onClick="setSort( 'queue' )">Queue</A></B></TH>
174<TH><B><A HREF="#" onClick="setSort( 'name' )" ALT="Jobname" TITLE="Jobname">Name</A></B></TH>
175<TH><B><A HREF="#" onClick="setSort( 'req_cpu' )" ALT="Requested CPU Time (walltime)" TITLE="Requested CPU Time (walltime)">Req. CPU time</A></B></TH>
176<!-- START BLOCK : column_header_req_mem -->
177<TH><B><A HREF="#" onClick="setSort( 'req_mem' )" ALT="Requested Memory" TITLE="Requested Memory">Req. Memory</A></B></TH>
178<!-- END BLOCK : column_header_req_mem -->
179<TH><B><A HREF="#" onClick="setSort( 'nodes' )" ALT="Nodes" TITLE="Nodes">N</A>/<A HREF="#" onClick="setSort( 'cpus' )" ALT="Processors" TITLE="Processors">P</A></B></TH>
180<!-- START BLOCK : column_header_queued -->
181<TH><B><A HREF="#" onClick="setSort( 'queued' )">Queued</A></B></TH>
182<!-- END BLOCK : column_header_queued -->
183<!-- START BLOCK : column_header_nodes -->
184<TH><B><A HREF="#" onClick="setSort( 'nodes' )" ALT="Nodes" TITLE="Nodes">Nodes</A></B></TH>
185<!-- END BLOCK : column_header_nodes -->
186<TH><B><A HREF="#" onClick="setSort( 'start' )">Started</A></B></TH>
187<TH><B><A HREF="#" onClick="setSort( 'runningtime' )">Runningtime</A></B></TH>
188</TR>
189
190<!-- START BLOCK : node -->
191  <TR CLASS="{nodeclass}">
192    <TD><A HREF="#" onClick="setFilter( 'id', '{id}' )">{id}</A></TD>
193    <TD><A HREF="#" onClick="setFilter( 'state', '{state}' )" ALT="{fullstate}" TITLE="{fullstate}">{state}</A></TD>
194    <TD><A HREF="#" onClick="setFilter( 'user', '{user}' )">{user}</A></TD>
195    <TD><A HREF="#" onClick="setFilter( 'queue', '{queue}' )">{queue}</A></TD>
196    <TD ALT="{fulljobname}" TITLE="{fulljobname}">
197<!-- START BLOCK : jobname_hint_start -->
198    <FONT CLASS="jobname_hint">
199<!-- END BLOCK : jobname_hint_start -->
200    {name}
201<!-- START BLOCK : jobname_hint_end -->
202    </FONT>
203<!-- END BLOCK : jobname_hint_end -->
204    </TD>
205    <TD>{req_cpu}</TD>
206<!-- START BLOCK : column_req_mem -->
207    <TD>{req_memory}</TD>
208<!-- END BLOCK : column_req_mem -->
209    <TD>{nodes}/{cpus}</TD>
210<!-- START BLOCK : column_queued -->
211    <TD>{queued}</TD>
212<!-- END BLOCK : column_queued -->
213<!-- START BLOCK : column_nodes -->
214    <TD>{nodes_hostnames}</TD>
215<!-- END BLOCK : column_nodes -->
216    <TD>{started}</TD>
217    <TD>{runningtime}</TD>
218  </TR>
219<!-- END BLOCK : node -->
220</TABLE>
221</CENTER>
222
223<!-- START BLOCK : showhosts -->
224<TABLE BORDER="0" WIDTH="100%">
225<TR>
226  <TD CLASS=title COLSPAN="2">
227  <FONT SIZE="-1">
228  Show Hosts:
229  yes<INPUT type=radio name="sh" value="1" OnClick="toga_form.submit();" {checked1}>
230  no<INPUT type=radio name="sh" value="0" OnClick="toga_form.submit();" {checked0}>
231  </FONT>
232  |
233  job <strong>{id}</strong> metric <strong>{metric}</strong>
234  |
235   <FONT SIZE="-1">
236   Columns&nbsp;&nbsp;{cols_menu}
237   </FONT>
238  </TD>
239</TR>
240   
241</TABLE>
242
243<CENTER>
244<TABLE>
245<TR>
246<!-- START BLOCK : sorted_list -->
247{metric_image}{br}
248<!-- END BLOCK : sorted_list -->
249</TR>
250</TABLE>
251
252<p>
253(Nodes colored by 1-minute load) | <A HREF="../../node_legend.html" ALT="Node Image egend">Legend</A>
254
255</CENTER>
256
257<!-- END BLOCK : showhosts -->
Note: See TracBrowser for help on using the repository browser.