You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2013/01/08 20:30:48 UTC
svn commit: r1430454 [3/3] - in
/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp: etc/ root/
root/js/
Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp Tue Jan 8 19:30:48 2013
@@ -0,0 +1,211 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+ <link rel="shortcut icon" href="ducc.ico" />
+ <title>ducc-mon</title>
+ <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
+ <script src="opensources/jquery-1.4.2.js" type="text/javascript"></script>
+ <script type="text/javascript" language="javascript" src="opensources/DataTables-1.9.1/media/js/jquery.dataTables.min.js"></script>
+ <script src="opensources/jgrowl/jquery.jgrowl.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="opensources/jgrowl/jquery.jgrowl.css" type="text/css"/>
+ <link href="opensources/jquery-ui-1.8.4/gallery/jquery-ui-themes-1.8.4/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css"/>
+ <script src="opensources/jquery-ui-1.8.4/ui/minified/jquery-ui.min.js"></script>
+ <link href="opensources/navigation/menu.css" rel="stylesheet" type="text/css">
+ <script src="js/ducc.js"></script>
+ <link href="ducc.css" rel="stylesheet" type="text/css">
+ <style media="all" type="text/css">
+ .alignRight { text-align: right; }
+ </style>
+ <script type="text/javascript" charset="utf-8">
+ var oTable;
+ $(document).ready(function() {
+ oTable = $('#system-daemons').dataTable( {
+ "bProcessing": true,
+ "bPaginate": false,
+ "sScrollY": "600px",
+ "bFilter": true,
+ "bInfo": false,
+ "sAjaxSource": "ducc-servlet/json-system-daemons-data",
+ aaSorting: [],
+ "fnRowCallback" : function(nRow,aData,iDisplayIndex) {
+ $('td:eq(5)', nRow).css( "text-align", "right" );
+ $('td:eq(6)', nRow).css( "text-align", "right" );
+ $('td:eq(7)', nRow).css( "text-align", "right" );
+ $('td:eq(8)', nRow).css( "text-align", "right" );
+ $('td:eq(9)', nRow).css( "text-align", "right" );
+ return nRow;
+ },
+ } );
+ } );
+ </script>
+</head>
+<body onload="ducc_init('system-daemons');">
+
+<div class="page">
+<!-- *********************** table ************************* -->
+<table class="heading">
+<!-- *********************** row *************************** -->
+<tr class="heading">
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<div>
+<ul id="accordion">
+<li><a href="jobs.html">Jobs</a></li>
+<ul></ul>
+<li><a href="reservations.html">Reservations</a></li>
+<ul></ul>
+<li>Services</li>
+<ul>
+<li><a href="services.definitions.html">Definitions</a></li>
+<li><a href="services.deployments.html">Deployments</a></li>
+</ul>
+<li>System</li>
+<ul>
+<li><a href="system.administration.html">Administration</a></li>
+<li><a href="system.classes.html">Classes</a></li>
+<li><a href="system.daemons.html">Daemons</a></li>
+<li><a href="system.duccbook.html" target="_duccbook">DuccBook</a></li>
+<li><a href="system.machines.html">Machines</a></li>
+</ul>
+<%@ include file="site.jsp" %>
+</ul>
+</div>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<div id="refreshbutton">
+<input type="image" onClick="ducc_refresh('system-daemons')" title="Refresh" alt="Refresh" src="opensources/images/1284662827_refresh.png">
+</div>
+<br>
+<table>
+<tr>
+<td align="left">
+<form name="duccform">
+<fieldset>
+<legend>Refresh</legend>
+<input type="radio" name="refresh" value="manual" checked onClick="ducc_put_cookie('ducc_refresh_mode','manual' )" /> Manual
+<br>
+<input type="radio" name="refresh" value="automatic" onClick="ducc_put_cookie('ducc_refresh_mode','automatic')" /> Automatic
+</fieldset>
+</form>
+</table>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2>
+<span class="idtitle" id="identity"></span>
+</h2>
+<form name="form_selectors">
+<table>
+<tr>
+<td valign="top" align="right">Updated:
+<td valign="top"><span class="timestamptitle" id="timestamp_area"></span>
+<tr>
+<td valign="top" align="right">Authentication:
+<td valign="top"><span class="authenticationtitle" id="authentication_area">?</span>
+<!--
+<tr>
+<td valign="top" align="right">Max Records:
+<td valign="top"><input type="text" size="8" id="maxrecs_input" value="default">
+<tr>
+<td valign="top" align="right">
+<select id="users_select">
+<option value="active+include">active+include</option>
+<option value="active+exclude">active+exclude</option>
+<option value="include">include</option>
+<option value="exclude">exclude</option>
+</select>
+Users:
+<td valign="top"><input type="text" size="16" id="users_input" value="default">
+-->
+<tr>
+<td>
+<input type="hidden" id="users_select_input" value="default">
+</table>
+</form>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2><span class="subtitle">System Daemons</span></h2>
+<img src="opensources/images/800px-Leg_Of_White_Duck.2x1.6.jpg" style="border:3px solid #ffff7a" alt="logo">
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<table>
+<tr>
+<td valign="middle" align="right">
+<span id="login_link_area"></span>
+ |
+<span id="logout_link_area"><a href="logout.html" onclick="var newWin = window.open(this.href,'child','height=600,width=475,scrollbars'); newWin.focus(); return false;">Logout</a></span>
+ |
+<span id="duccbook_link_area"></span><a href="system.duccbook.html" target="_duccbook">DuccBook</a>
+<tr>
+<td valign="middle" align="center">
+<div>
+<br>
+<h2><span class="title">ducc-mon</span></h2>
+<span class="title_acronym">D</span><span class="title">istributed</span>
+<span class="title_acronym">U</span><span class="title">IMA</span>
+<span class="title_acronym">C</span><span class="title">luster</span>
+<span class="title_acronym">C</span><span class="title">omputing</span>
+<span class="title_acronym">Mon</span><span class="title">itor</span>
+<br>
+<i>Version: <span class="version" id="version"></span></i>
+<br>
+<br>
+<table>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright © 2012 The Apache Software Foundation</small>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright © 2011, 2012 International Business Machines Corporation</small>
+</table>
+</div>
+</table>
+<br>
+</td>
+</table>
+<!-- *********************** /table ************************ -->
+ <table id="system-daemons" width="100%">
+ <caption><b>Daemons List</b><br><i><small>click column heading to sort</small></i></caption>
+ <thead>
+ <tr class="ducc-header">
+ <th align="left" style="width: 75px;" title="The current status">Status</th>
+ <th align="left" title="The daemon name">Daemon Name</th>
+ <th align="left" style="width: 150px;" title="The date+time this daemon was booted">Boot Time</th>
+ <th align="left" style="width: 75px;"title="The host IP for this daemon">Host IP</th>
+ <th align="left" title="The host name for this daemon">Host Name</th>
+ <th align="left" style="width: 75px;" title="The OS assigned PID for this daemon">PID</th>
+ <th align="left" style="width: 75px;"title="The size (in bytes) of the most recent publication by this daemon">Publication Size (last)</th>
+ <th align="left" style="width: 75px;"title="The size (in bytes) of the largest publication by this daemon">Publication Size (max)</th>
+ <th align="left" title="The elapsed time (in seconds) since the last heartbeat from this daemon">Heartbeat (last)</th>
+ <th align="left" title="The elapsed time (in seconds) of the longest heartbeat from this daemon">Heartbeat (max)</th>
+ <th align="left" title="The TOD when the longest heartbeat from this daemon occurred">Heartbeat (max) TOD</th>
+ <th align="left" style="width: 300px;" title="The JConsole URL for this daemon">JConsole: URL</th>
+ </tr>
+ </thead>
+ <tbody id="system_daemons_list_area">
+ </tbody>
+ </table>
+</div>
+
+<script src="opensources/navigation/menu.js"></script>
+</body>
+</html>
Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.daemons.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.html
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.html?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.html (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.html Tue Jan 8 19:30:48 2013
@@ -0,0 +1,29 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+<script language="javascript">
+<!--
+location.replace("system.machines.jsp"+location.search)
+//-->
+</script>
+</head>
+<body>
+</body>
+</html>
Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp?rev=1430454&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp Tue Jan 8 19:30:48 2013
@@ -0,0 +1,219 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<html>
+<head>
+ <link rel="shortcut icon" href="ducc.ico" />
+ <title>ducc-mon</title>
+ <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
+ <script src="opensources/jquery-1.4.2.js" type="text/javascript"></script>
+ <script type="text/javascript" language="javascript" src="opensources/DataTables-1.9.1/media/js/jquery.dataTables.min.js"></script>
+ <script src="opensources/jgrowl/jquery.jgrowl.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="opensources/jgrowl/jquery.jgrowl.css" type="text/css"/>
+ <link href="opensources/jquery-ui-1.8.4/gallery/jquery-ui-themes-1.8.4/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css"/>
+ <script src="opensources/jquery-ui-1.8.4/ui/minified/jquery-ui.min.js"></script>
+ <link href="opensources/navigation/menu.css" rel="stylesheet" type="text/css">
+ <script src="js/ducc.js"></script>
+ <link href="ducc.css" rel="stylesheet" type="text/css">
+ <script type="text/javascript" charset="utf-8">
+ var oTable;
+ $(document).ready(function() {
+ oTable = $('#machines-table').dataTable( {
+ "bProcessing": true,
+ "bPaginate": false,
+ "sScrollY": "600px",
+ "bFilter": true,
+ "bInfo": false,
+ "sAjaxSource": "ducc-servlet/json-machines-data",
+ aaSorting: [],
+ "fnRowCallback" : function(nRow,aData,iDisplayIndex) {
+ $('td:eq(3)' , nRow).css( "text-align", "right" );
+ $('td:eq(4)' , nRow).css( "text-align", "right" );
+ $('td:eq(5)' , nRow).css( "text-align", "right" );
+ $('td:eq(6)' , nRow).css( "text-align", "right" );
+ $('td:eq(7)' , nRow).css( "text-align", "right" );
+ $('td:eq(8)' , nRow).css( "text-align", "right" );
+ if ( aData[0] == "up" ) {
+ jQuery('td:eq(0)', nRow).addClass('health_green');
+ }
+ if ( aData[0] == "down" ) {
+ jQuery('td:eq(0)', nRow).addClass('health_red');
+ }
+ try {
+ if( parseInt(aData[4]) > 0) {
+ jQuery('td:eq(4)', nRow).addClass('health_red');
+ }
+ }
+ catch(err) {
+ }
+ return nRow;
+ },
+ } );
+ } );
+ </script>
+</head>
+<body onload="ducc_init('system-machines');">
+
+<div class="page">
+<!-- *********************** table ************************* -->
+<table class="heading">
+<!-- *********************** row *************************** -->
+<tr class="heading">
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<div>
+<ul id="accordion">
+<li><a href="jobs.html">Jobs</a></li>
+<ul></ul>
+<li><a href="reservations.html">Reservations</a></li>
+<ul></ul>
+<li>Services</li>
+<ul>
+<li><a href="services.definitions.html">Definitions</a></li>
+<li><a href="services.deployments.html">Deployments</a></li>
+</ul>
+<li>System</li>
+<ul>
+<li><a href="system.administration.html">Administration</a></li>
+<li><a href="system.classes.html">Classes</a></li>
+<li><a href="system.daemons.html">Daemons</a></li>
+<li><a href="system.duccbook.html" target="_duccbook">DuccBook</a></li>
+<li><a href="system.machines.html">Machines</a></li>
+</ul>
+<%@ include file="site.jsp" %>
+</ul>
+</div>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<div id="refreshbutton">
+<input type="image" onClick="ducc_refresh('system-machines')" title="Refresh" alt="Refresh" src="opensources/images/1284662827_refresh.png">
+</div>
+<br>
+<table>
+<tr>
+<td align="left">
+<form name="duccform">
+<fieldset>
+<legend>Refresh</legend>
+<input type="radio" name="refresh" value="manual" checked onClick="ducc_put_cookie('ducc_refresh_mode','manual' )" /> Manual
+<br>
+<input type="radio" name="refresh" value="automatic" onClick="ducc_put_cookie('ducc_refresh_mode','automatic')" /> Automatic
+</fieldset>
+</form>
+</table>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2>
+<span class="idtitle" id="identity"></span>
+</h2>
+<form name="form_selectors">
+<table>
+<tr>
+<td valign="top" align="right">Updated:
+<td valign="top"><span class="timestamptitle" id="timestamp_area"></span>
+<tr>
+<td valign="top" align="right">Authentication:
+<td valign="top"><span class="authenticationtitle" id="authentication_area">?</span>
+<!--
+<tr>
+<td valign="top" align="right">Max Records:
+<td valign="top"><input type="text" size="8" id="maxrecs_input" value="default">
+<tr>
+<td valign="top" align="right">
+<select id="users_select">
+<option value="active+include">active+include</option>
+<option value="active+exclude">active+exclude</option>
+<option value="include">include</option>
+<option value="exclude">exclude</option>
+</select>
+Users:
+<td valign="top"><input type="text" size="16" id="users_input" value="default">
+-->
+<tr>
+<td>
+<input type="hidden" id="users_select_input" value="default">
+</table>
+</form>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<h2><span class="subtitle">System Machines</span></h2>
+<img src="opensources/images/120px-Rubber_duckies_So_many_ducks.jpg" style="border:3px solid #ffff7a" alt="logo">
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<table>
+<tr>
+<td valign="middle" align="right">
+<span id="login_link_area"></span>
+ |
+<span id="logout_link_area"><a href="logout.html" onclick="var newWin = window.open(this.href,'child','height=600,width=475,scrollbars'); newWin.focus(); return false;">Logout</a></span>
+ |
+<span id="duccbook_link_area"></span><a href="system.duccbook.html" target="_duccbook">DuccBook</a>
+<tr>
+<td valign="middle" align="center">
+<div>
+<br>
+<h2><span class="title">ducc-mon</span></h2>
+<span class="title_acronym">D</span><span class="title">istributed</span>
+<span class="title_acronym">U</span><span class="title">IMA</span>
+<span class="title_acronym">C</span><span class="title">luster</span>
+<span class="title_acronym">C</span><span class="title">omputing</span>
+<span class="title_acronym">Mon</span><span class="title">itor</span>
+<br>
+<i>Version: <span class="version" id="version"></span></i>
+<br>
+<br>
+<table>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright © 2012 The Apache Software Foundation</small>
+<tr>
+<td valign="middle" align="left">
+<small>Copyright © 2011, 2012 International Business Machines Corporation</small>
+</table>
+</div>
+</table>
+<br>
+</td>
+</table>
+<!-- *********************** /table ************************ -->
+ <table id="machines-table" width="100%">
+ <caption><b>Machines List</b><br><i><small>click column heading to sort</small></i></caption>
+ <thead>
+ <tr class="ducc-header">
+ <th align="left" title="The current status">Status</th>
+ <th align="left" title="The host IP">IP</th>
+ <th align="left" title="The host name">Name</th>
+ <th align="left" title="The host memory size, in GB" >Mem(GB):total</th>
+ <th align="left" title="The host inuse swap size, in GB" >Swap(GB):inuse</th>
+ <th align="left" title="The number of alien PIDs (those processes not assiciated with a user running jobs or having a reservation)" >Alien PIDs</th>
+ <th align="left" title="The number of system shares" >Shares:total</th>
+ <th align="left" title="The number of system shares inuse" >Shares:inuse</th>
+ <th align="left" title="The elapsed time (in seconds) since the last heartbeat" >Heartbeat (last)</th>
+ </tr>
+ </thead>
+ <tbody id="machines_list_area">
+ </tbody>
+ </table>
+</div>
+
+<script src="opensources/navigation/menu.js"></script>
+</body>
+</html>
Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/system.machines.jsp
------------------------------------------------------------------------------
svn:eol-style = native