📄 memory_pools.jsp
字号:
<%-- ~ Licensed under the GPL License. You may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://probe.jstripe.com/d/license.shtml ~ ~ THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR ~ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ~ WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. --%><%@ page contentType="text/html;charset=UTF-8" language="java" session="false" %><%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %><%@ taglib uri="http://www.jstripe.com/tags" prefix="js" %><%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %><%@ taglib uri="http://displaytag.sf.net" prefix="display" %><display:table name="pools" class="genericTbl" cellspacing="0" id="pool" requestURI=""> <display:column title=" " width="16px" class="leftMostIcon"> <c:choose> <c:when test="${pool.type == 'HEAP'}"> <img src="${pageContext.request.contextPath}<spring:theme code="heap_pool.png"/>" alt=""/> </c:when> <c:otherwise> <img src="${pageContext.request.contextPath}<spring:theme code="non_heap_pool.png"/>" alt=""/> </c:otherwise> </c:choose> </display:column> <display:column titleKey="probe.jsp.memory.col.name" sortable="true" width="180px"> ${pool.name} </display:column> <display:column titleKey="probe.jsp.memory.col.usageScore" sortable="true" class="score_wrapper"> <div class="score_wrapper"> <js:score value="${pool.usageScore}" partialBlocks="5" fullBlocks="10" showEmptyBlocks="true" showA="true" showB="true"> <img src="<c:url value="/css/classic/gifs/rb_{0}.gif"/>" alt="+" title="<spring:message code="probe.jsp.memory.usage.title" arguments="${pool.usageScore}"/>"/> </js:score> </div> </display:column> <display:column titleKey="probe.jsp.memory.col.plot" width="20px"> <c:set var="cookie_name" value="mem_${pool.id}" scope="page"/> <c:choose> <c:when test="${cookie[cookie_name].value == 'off'}"> <c:set var="style_on" value="display:none"/> <c:set var="style_off" value=""/> </c:when> <c:otherwise> <c:set var="style_on" value=""/> <c:set var="style_off" value="display:none"/> </c:otherwise> </c:choose> <img id="visible_${pool.id}" onclick="return togglePanel('${pool.id}', '<c:url value="/remember.ajax?cn=mem_${pool.id}"/>')" class="clickable" style="${style_on}" src="${pageContext.request.contextPath}<spring:theme code="memory_chart_visible.png"/>" alt="" border="0"/> <img id="invisible_${pool.id}" onclick="return togglePanel('${pool.id}', '<c:url value="/remember.ajax?cn=mem_${pool.id}"/>')" class="clickable" style="${style_off}" src="${pageContext.request.contextPath}<spring:theme code="memory_chart_hidden.png"/>" alt="" border="0"/> </display:column> <display:column titleKey="probe.jsp.memory.col.used" sortable="true" sortProperty="used" width="80px"> <js:volume value="${pool.used}" fractions="2"/> </display:column> <display:column titleKey="probe.jsp.memory.col.committed" sortable="true" sortProperty="committed" width="80px"> <js:volume value="${pool.committed}" fractions="2"/> </display:column> <display:column titleKey="probe.jsp.memory.col.max" sortable="true" sortProperty="max" width="80px"> <js:volume value="${pool.max}" fractions="2"/> </display:column> <display:column titleKey="probe.jsp.memory.col.initial" sortable="true" sortProperty="init" width="80px"> <js:volume value="${pool.init}" fractions="2"/> </display:column> <display:column titleKey="probe.jsp.memory.col.group" property="type" sortable="true"/></display:table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -