Author: kevinshen
Date: 2009-11-17 04:16:26 +0100 (Tue, 17 Nov 2009)
New Revision: 39728

Modified:
   
CMSContainer/trunk/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/showdbprocesslist.jsp
Log:
CMSC-1583 Add maintenance script to see the processlist of MySQL

Modified: 
CMSContainer/trunk/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/showdbprocesslist.jsp
===================================================================
--- 
CMSContainer/trunk/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/showdbprocesslist.jsp
       2009-11-17 03:13:57 UTC (rev 39727)
+++ 
CMSContainer/trunk/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/showdbprocesslist.jsp
       2009-11-17 03:16:26 UTC (rev 39728)
@@ -22,7 +22,6 @@
    <mm:present referid="action">
          <%                    
                    Map<Integer,List> results = new HashMap<Integer,List>();
-
                    new SqlExecutor().execute(new 
ShowDatabaseProcessList(results));
                        pageContext.setAttribute("results", results);
             %>
@@ -30,16 +29,16 @@
                        <p>Processes List :</p>
                        <table border="1px">
                        
<tr><th>Id</th><th>User</th><th>Host</th><th>db</th><th>Command</th><th>Time</th><th>State</th><th>Info</th></tr>
-<c:forEach var="entry" items="${results}">
-<tr >
-<c:forEach var="value" items='${entry.value}'>
-<td>
-${value}
-</td>
-</c:forEach>
-</tr>
-</c:forEach>
-</table>
+                       <c:forEach var="entry" items="${results}">
+                               <tr >
+                               <c:forEach var="value" items='${entry.value}'>
+                               <td>
+                               ${value}
+                               </td>
+                               </c:forEach>
+                               </tr>
+                       </c:forEach>
+                       </table>
                </c:if>
                <c:if test="${fn:length(results) == 0}">
                        No process. 

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to