[Mc4j-cvs] mc4j/application/dashboards/tomcat Tomcat_Overview.xml,NONE,1.1 Tomcat_ServletTable.xml,1
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2006-04-17 03:07:34
|
Update of /cvsroot/mc4j/mc4j/application/dashboards/tomcat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6745/application/dashboards/tomcat Modified Files: Tomcat_ServletTable.xml Added Files: Tomcat_Overview.xml Log Message: Dashboard and component tweaks Index: Tomcat_ServletTable.xml =================================================================== RCS file: /cvsroot/mc4j/mc4j/application/dashboards/tomcat/Tomcat_ServletTable.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Tomcat_ServletTable.xml 12 Apr 2006 19:14:01 -0000 1.6 --- Tomcat_ServletTable.xml 17 Apr 2006 03:07:26 -0000 1.7 *************** *** 2,8 **** <!DOCTYPE Dashboard PUBLIC "-//MC4J//DTD Dashboard 2.0//EN" "http://mc4j.org/Dashboard_2_0.dtd"> ! <Dashboard version="2.0" name="Tomcat Servlet Statistics"> ! <Description>This dashboard shows the statistics of a Tomcat Servlets.</Description> <DashboardMatch type="Global" location="/Tomcat/Web"> --- 2,8 ---- <!DOCTYPE Dashboard PUBLIC "-//MC4J//DTD Dashboard 2.0//EN" "http://mc4j.org/Dashboard_2_0.dtd"> ! <Dashboard version="2.0" name="Tomcat Servlet Statistics" standardHeader="true" autoRefresh="true" refreshControl="true"> ! <Description>Performance statistics for Tomcat deployed servlets</Description> <DashboardMatch type="Global" location="/Tomcat/Web"> *************** *** 23,34 **** <Attribute name="background" value="'0xFFFFFF'"/> ! <Attribute name="preferredSize" value="100,100"/> <Attribute name="AttributeName" value="'J2EEServer'"/> <Attribute name="AttributeName" value="'J2EEApplication'"/> - <Attribute name="AttributeName" value="'WebModule'"/> - <Attribute name="AttributeName" value="'name'"/> <Attribute name="AttributeName" value="'requestCount'"/> --- 23,34 ---- <Attribute name="background" value="'0xFFFFFF'"/> ! <Attribute name="preferredSize" value="'100,100'"/> + <Attribute name="AttributeName" value="'WebModule'"/> + <Attribute name="AttributeName" value="'name'"/> <Attribute name="AttributeName" value="'J2EEServer'"/> <Attribute name="AttributeName" value="'J2EEApplication'"/> <Attribute name="AttributeName" value="'requestCount'"/> --- NEW FILE: Tomcat_Overview.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard PUBLIC "-//MC4J//DTD Dashboard 2.0//EN" "http://mc4j.org/Dashboard_2_0.dtd"> <Dashboard version="2.0" name="Tomcat Overview" refreshControl="true" standardHeader="true" autoRefresh="true"> <Description>This dashboard shows general Tomcat information</Description> <DashboardMatch type="Global" location="/Tomcat"> <BeanMatch id="Server" type="Single"> <Condition type="BeanObjectNameRegexCondition" filter="Catalina:type=Server"/> </BeanMatch> <BeanMatch id="Runtime" type="Single"> <Condition type="BeanObjectNameRegexCondition" filter="java.lang:type=Runtime"/> </BeanMatch> <BeanMatch id="OperatingSystem" type="Single"> <Condition type="BeanObjectNameRegexCondition" filter="java.lang:type=OperatingSystem"/> </BeanMatch> <BeanMatch id="Memory" type="Single"> <Condition type="BeanObjectNameRegexCondition" filter="java.lang:type=Memory"/> </BeanMatch> <BeanMatch id="RequestProcessors" type="Multiple"> <Condition type="BeanObjectNameRegexCondition" filter="type=GlobalRequestProcessor"/> </BeanMatch> <BeanMatch id="ThreadPools" type="Multiple"> <Condition type="BeanObjectNameRegexCondition" filter="type=ThreadPool"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="org.mc4j.console.dashboard.components.html.HtmlDashboardComponent"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="html"> <![CDATA[ <html><head> <style> H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;} table { width: 100%; } td.page-title { text-align: center; vertical-align: top; font-family:sans-serif,Tahoma,Arial; font-weight: bold; background: white; color: black; } td.title { text-align: left; vertical-align: top; font-family:sans-serif,Tahoma,Arial; font-style:italic; font-weight: bold; background: #D2A41C; } td.header-left { text-align: left; vertical-align: top; font-family:sans-serif,Tahoma,Arial; font-weight: bold; background: #FFDC75; } td.header-center { text-align: center; vertical-align: top; font-family:sans-serif,Tahoma,Arial; font-weight: bold; background: #FFDC75; } td.row-left { text-align: left; vertical-align: middle; font-family:sans-serif,Tahoma,Arial; color: black; } td.row-center { text-align: center; vertical-align: middle; font-family:sans-serif,Tahoma,Arial; color: black; } td.row-right { text-align: right; vertical-align: middle; font-family:sans-serif,Tahoma,Arial; color: black; } TH { text-align: center; vertical-align: top; font-family:sans-serif,Tahoma,Arial; font-weight: bold; background: #FFDC75; } TD { text-align: center; vertical-align: middle; font-family:sans-serif,Tahoma,Arial; color: black; } </style><title>/manager</title></head><body bgcolor="#ffffff"> <a href="http://tomcat.apache.org/"> <img alt="The Apache Software Foundation" src="http://tomcat.apache.org/images/tomcat.gif" align="left" border="0"> </a> <hr noshade="noshade" size="1"> <table border="0" cellspacing="4" width="100%"> <tbody><tr> <td class="page-title" bordercolor="#000000" align="left" nowrap="nowrap"> <font size="+2">Server Status</font> </td> </tr> </tbody></table> <br> <table border="1" cellpadding="3" cellspacing="0"> <tbody><tr> <td colspan="6" class="title">Server Information</td> </tr> <tr> <td class="header-center"><small>Tomcat Version</small></td> <td class="header-center"><small>JVM Version</small></td> <td class="header-center"><small>JVM Vendor</small></td> <td class="header-center"><small>OS Name</small></td> <td class="header-center"><small>OS Version</small></td> <td class="header-center"><small>OS Architecture</small></td> </tr> <tr> <td class="row-center"><small>${#Server.serverInfo}</small></td> <td class="row-center"><small>${#Runtime.VmVersion}</small></td> <td class="row-center"><small>${#Runtime.VmVendor}</small></td> <td class="row-center"><small>${#OperatingSystem.Name}</small></td> <td class="row-center"><small>${#OperatingSystem.Version}</small></td> <td class="row-center"><small>${#OperatingSystem.Arch}</small></td> </tr> </tbody></table> <br> <h1>JVM</h1> <p> Free memory: ${#format.sizeBytes(Memory.HeapMemoryUsage["used"])} Total memory: ${#format.sizeBytes(Memory.HeapMemoryUsage["committed"])} Max memory: ${#format.sizeBytes(Memory.HeapMemoryUsage["max"])} </p> <h1>Request Processors</h1> <table width="100%"><tr><td> <object classid="RequestProcessorTable"></object> </td></tr></table> <br> <h1>Thread Pools</h1> <table width="100%" ><tr><td> <object classid="ThreadPoolTable" ></object> </td></tr></table> <br> <center><font color="#525d76" size="-1"><em>Tomcat and the Tomcat Logo are trademarks of Apache Software Foundation</em></font></center> </body></html> ]]> </Attribute> <Content> <Component type="org.mc4j.console.dashboard.components.AttributeTablePopupComponent" id="RequestProcessorTable"> <Attribute name="beanList" value="#RequestProcessors"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="'0xFFFFFF'"/> <Attribute name="preferredSize" value="'600,150'"/> <Attribute name="AttributeName" value="'name'"/> <Attribute name="AttributeName" value="'requestCount'"/> <Attribute name="AttributeName" value="'bytesSent'"/> <Attribute name="AttributeName" value="'bytesReceived'"/> <Attribute name="AttributeName" value="'errorCount'"/> <Attribute name="AttributeName" value="'processingTime'"/> <Attribute name="AttributeName" value="'maxTime'"/> </Component> <Component type="org.mc4j.console.dashboard.components.AttributeTablePopupComponent" id="ThreadPoolTable"> <Attribute name="beanList" value="#ThreadPools"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="'0xFFFFFF'"/> <Attribute name="preferredSize" value="'600,150'"/> <Attribute name="AttributeName" value="'name'"/> <Attribute name="AttributeName" value="'currentThreadsBusy'"/> <Attribute name="AttributeName" value="'currentThreadCount'"/> <Attribute name="AttributeName" value="'threadPriority'"/> <Attribute name="AttributeName" value="'minSpareThreads'"/> <Attribute name="AttributeName" value="'maxSpareThreads'"/> <Attribute name="AttributeName" value="'sequence'"/> <Attribute name="AttributeName" value="'maxThreads'"/> </Component> </Content> </Component> </Content> </Dashboard> |