<%--
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%-- DbStat.jsp --%>

<%@page info="DbStat" language="java"%>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/console.tld" prefix="console"%>
<%@taglib uri="/WEB-INF/searchadmin.tld" prefix="searchadmin"%>

<jato:useViewBean className="com.sun.portal.search.admin.DbStatViewBean"> 
<jsp:useBean id="viewBean" type="com.sun.portal.search.admin.DbStatViewBean" />

<HTML>
<TITLE><searchadmin:text key="dbstat.title"/></TITLE>
<%@include file="/ps/searchadmin/CSHeader.jsp"%>
<script language="javascript">
if (parent.headerFrame) {
    parent.headerFrame.helpDocURL = "<jato:text name="helpDocURL"/>";
    parent.headerFrame.helpPage = "<searchadmin:text key="help.database.analysis"/>";
}
</script>

<searchadmin:AdminMenu selected="DbStat" images="../ps/searchadmin/images"/>
<table border="0" align="center">
    <tr>
      <td align="center" valign="top">
	<console:messagebox name="MessageBox" fireDisplayEvents="true" imageURI="../console/images"/>
      </td>
    </tr>
</table>

<div align=center>
<table border=0 width=95%>
  <tr>
    <td><div class="help-text"><searchadmin:text key="db.stat.desc"/></div></td>
  </tr>
</table>
</div>

<console:form name="DbStat">
<jato:tiledView name="DbStatListDBView" type="com.sun.portal.search.admin.DbStatListDBView">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td nowrap> 
      <div class="properties-level1-label-text">
        <searchadmin:text key="db.stat.dbname"/>&nbsp;:&nbsp;<jato:text name="DatabaseName"/>
      </div>
    </td>
    <td valign="bottom" width="99%"> 
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr> 
					<td valign="bottom" class="properties-separator"><IMG src="../ps/searchadmin/images/blank.gif" width="1" height="2" alt=""></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
	<br>
	<center>
	<jato:text name="onFileAnalysisStatus"/>
	<br>
	<table border=1 cellspacing=2 cellpadding=5>
		<tr>
			<th colspan=2>
				<jato:staticText name="DbStatNbRd"/>&nbsp;<searchadmin:text key="db.stat.rds"/>&nbsp;<searchadmin:text key="db.stat.across"/>
				<jato:staticText name="DbStatNbServer"/>&nbsp;<searchadmin:text key="db.stat.server"/>
			</th>
		</tr>
		<jato:tiledView name="DbStatListServerView" type="com.sun.portal.search.admin.DbStatListServerView"> 
		<tr> 
			<td align=left valign=middle>
				<a href="<jato:text name="DbStatServerHref" />"><jato:text name="DbStatServerHref" /></a>
			</td>
			<td align=right valign=middle>
				<code>
					<jato:staticText name="DbStatServerNbRd" /> 
				</code>
			</td>
		</tr>
		</jato:tiledView>
		<tr>
			<td colspan=2><br>
			</td>
		</tr>
		<jato:tiledView name="DbStatListProtocolView" type="com.sun.portal.search.admin.DbStatListProtocolView"> 
		<tr> 
			<td align=left valign=middle><jato:staticText name="DbStatProtocolName" /> 
				<jato:staticText name="DbStatProtocolNbRd" /> 
			</td>
			<td align=right valign=middle>
				<code>
					<jato:staticText name="DbStatProtocolPercentage" /> 
				</code>
			</td>
		</tr>
		</jato:tiledView>
	</table>
	<jato:staticText name="DbStatLastUpdated"/>
	</center>
	<table border="0" cellspacing="0" cellpadding="10" width="100%">
		<tr> 
			<td width="50%" height="2"> </td>
			<td align="right" width="50%" height="2"> 
				<table>
					<tr valign="center" align="right">
						<td align="right">
							<console:button name="DbStatRefresh" />
						</td>
					</tr> 
				</table>
			</td>
		</tr>
	</table>
</jato:tiledView>
</console:form>

</body>
<script language="javascript">
pageLoaded = 1;
</script>

</html>
</jato:useViewBean>


