systeminfo.jspf

来自「这是linux下ssl vpn的实现程序」· JSPF 代码 · 共 99 行

JSPF
99
字号
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="/sslexplorer/taglibs/explorer" prefix="explorer" %>

<div id="page_systemInfo">
	<explorer:form autocomplete="OFF" method="post" action="/systemInfo.do"> 
		<html:hidden property="referer"/>
		<html:hidden property="actionTarget"/>
		<table class="dialog_form_table">
			<tbody>
				<tr class="formLabel">
					<td class="label">
				  		<bean:message key="status.freeMemory" bundle="setup" />: 
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="freeMemoryK"/>K
					</td>
					<td class="label">
				  		<bean:message key="status.server.port" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="serverPort"/>
					</td>
				</tr>
				<tr class="formLabel">
					<td class="label">
				  		<bean:message key="status.usedMemory" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="usedMemoryK"/>K
					</td>
					<td class="label">
				  		<bean:message key="status.active.threads" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="activeThreads"/>
					</td>
				</tr>
				<tr class="formLabel">
					<td class="label">
				  		<bean:message key="status.totalMemory" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="totalMemoryK"/>K
					</td>
					<td class="label">
				  		<bean:message key="status.cpu.count" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="CPUCount"/>
					</td>
				</tr>
				<tr class="formLabel">
					<td class="label">
				  		<bean:message key="status.os.arch" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="OSArch"/>
					</td>
					<td class="label">
				  		<bean:message key="status.network.interfaces" bundle="setup" />:
					</td>
					<td class="value">
					<!-- TODO This screws up the styling. Just show IP addresses, one per
				  		<bean:write name="systemInfoForm" property="networkInterfaces"/>
				  	//	-->
					</td>
				</tr>
				<tr class="formLabel">
					<td class="label">
				  		<bean:message key="status.os.name" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="OSName"/>
					</td>
					<td class="label">
				  		<bean:message key="status.java.version" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="javaVersion"/>
					</td>
				</tr>
				<tr class="formLabel">
					<td class="label">
				  		<bean:message key="status.os.version" bundle="setup" />:
					</td>
					<td class="value">
				  		<bean:write name="systemInfoForm" property="OSVersion"/>
					</td>
					<td class="label"/>
					<td class="value"/>
				</tr>
			</tbody>
		</table>	
	</explorer:form>
</div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?