Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\monitoring\hostProgramResourceUtil.uix
<!-- * Copyright (c) 2001, 2006, Oracle. All rights reserved. * * NAME * hostProgramResourceUtil.uix * * NOTES * Display Monitored Program UI * * MODIFIED * kmuthujo 12/01/06 - bug-5689637 * bkolloju 08/08/05 - Bug fix 4526221 * ajere 08/01/05 - Fix bug# 4505651 * ajere 07/20/05 - Fix bug# 4493757 * sacgoyal 03/29/05 - fix bug#4248645,4260067 * pratagar 05/31/05 - ADA voilation * aachoudh 10/06/04 - aachoudh_monitored_programs * aachoudh 10/05/04 - * aachoudh 07/28/04 - Creation * --> <page xmlns="http://bali.us.oracle.com/cabo/baja" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:chart="http://emchart.us.oracle.com/ui" xmlns:oem="http://xmlns.oracle.com/oem/ui/beans" xmlns:data="http://bali.us.oracle.com/cabo/marlin"> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <body onLoad="loadIt();"><contents> <script><contents> function loadIt() { eval(document.forms[0].focusJavaScript.value); } </contents></script> <dataScope> <contents> <html:title> <text data:text="title@hostDetails"/> </html:title> <html:noScript> "This page uses JavaScript to perform the list of values lookup. Your browser either does not support JavaScript, or it is disabled. Please enable JavaScript, or upgrade your browser." </html:noScript> <pageLayout> <mediumAdvertisement> <include baja:node="../oemBanner" /> </mediumAdvertisement> <globalButtons> <include baja:node="../globalButtonBar" /> </globalButtons> <tabs> <include baja:node="../globalTabs" /> </tabs> <pageHeader> <include baja:node="../globalHeader" /> </pageHeader> <location> <include baja:node="../breadCrumbs"/> </location> <copyright> <include baja:node="../copyright"/> </copyright> <contents> <html:meta http-equiv="Refresh" content="-1" data:content="refreshRate@hostDetails" data:rendered="showRefreshTag@hostDetails" /> <header data:text="header@hostDetails"> <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <styledText styleClass="OraTipText" vAlign="middle" data:text="LATEST_FROM_TARGET@sdkBundle" /> <spacer width="5"/> <styledText styleClass="OraTipLabel" data:text="timestamp@hostDetails" /> <spacer width="8"/> <image data:source="refreshIcon@hostDetails" data:destination="hostProgramResourceOverviewDest@folderInfo" data:shortDesc="REFRESH_BUTTON@mntrResourceBundle"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <subTabBar orientation="top" data:selectedIndex="selectedTab@folderInfo"> <contents> <link data:text="HOME@mntrResourceBundle" data:destination="targetDest@folderInfo"/> <link data:text="PERFORMANCE@hostResourceBundle" data:destination="perfOverviewDest@folderInfo"/> <oem:license> <contents> <link data:text="ADMINISTRATION@hostResourceBundle" data:destination="hostAdminDest@folderInfo"/> </contents> </oem:license> <link data:text="HOST_TARGET_LIST@hostResourceBundle" data:destination="targetListDest@folderInfo"/> <link data:text="CONFIGURATION@TrackResourceBundle" data:destination="viewSnapshot@hostSnapshot"/> </contents> </subTabBar> <!-- >>>>>>>>>> DROPDOWN REFRESH OPTION >>>>>>>>>>>>>> --> <spacer height="1"/> <form name="hostSummary" action="submit"> <contents> <formValue name="focusJavaScript" data:value="focusJavaScript@hostDetails"/> </contents> <contents> <tableLayout width="100%" rendered="true"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="left"> <contents> <styledText data:text="VIEW@mntrResourceBundle" labeledNodeId="sumryChoice" styleClass="OraPromptText"/> <spacer width="8"/> <choice name="sumryChoice" columns="5" id="sumryChoice" onChange="submitForm('hostSummary', true, {event:'refToOpt'})" marlin:selectedIndex="overviewOption@hostDetails"> <contents marlin:childData="refOption@sumryChoices"> <option marlin:text="name" marlin:selected="selected" marlin:value="value"/> </contents> </choice> <spacer width="5"/> <formValue name="event" value="refToOpt" /> </contents> </rowLayout> </contents> </cellFormat> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <spacer width="5"/> <styledText data:text="VIEW_DATA@mntrResourceBundle" labeledNodeId="refChoice" styleClass="OraPromptText"/> <spacer width="5"/> <choice name="refChoice" columns="5" id="refChoice" onChange="submitForm(hostSummary, false, {event:'refToOptRefresh'})" marlin:selectedIndex="refreshSelection@hostDetails"> <contents marlin:childData="refOption@refreshChoices"> <option marlin:text="name" marlin:selected="selected" marlin:value="value"/> </contents> </choice> <spacer width="10"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </form> <stackLayout> <contents> <switcher data:childName="is_progResUtilPage_supported@hostDetails"> <case name="false"> <messageBox data:message="progResUtilPage_notSupported_msg@hostDetails" longDescURL="unimpl"> </messageBox> </case> <case name="true"> <stackLayout> <contents> <switcher name="false" data:childName="error@hostDetails"> <case name="true"> <messageBox data:message="errMsg@hostDetails" messageType="error" longDescURL="unimpl" data:text="ERR_OCCUR@mntrResourceBundle"> </messageBox> </case> </switcher> <spacer height="10"/> <rowLayout vAlign="top"> <contents> <cellFormat vAlign="top"> <contents> <spacer height="10"/> <spacer height="10"/> <header data:text="TOTAL_CPU_UTILIZATION@hostResourceBundle" vAlign="top"> <contents> <stackLayout> <contents> <chart:emChart data:title="TOTAL_CPU_UTILIZATION@hostResourceBundle" titleVisible="false" chartType="timeSeriesChart" data:width="totalCpuUtilwidth@hostDetails" data:height="totalCpuUtilheight@hostDetails" data:timeGranularity="totalCpuUtiltimeGranularity@hostDetails" orientation="vertical" axisMax="100" axisMin="0" seriesColorsAutomatic="true" data:warningThreshold="totalCpuUtilwarningThreshold@hostDetails" data:criticalThreshold="totalCpuUtilcriticalThreshold@hostDetails" legendPosition="south" data:shortDesc="TOTAL_CPU_UTILIZATION@hostResourceBundle"> <contents> <chart:boundChartDataSource data:chartDataSource="totalCpuUtilchartDataSource@hostDetails"/> <chart:imageMap data:imageMapDataSource="totalCpuUtilimapDataSource@hostDetails" overwriteLabels="true"/> <chart:chartColumn isKey="true" displayLabel="" sourceIndex="0"/> <chart:chartColumn isTimeColumn="true" displayLabel="" sourceIndex="1"/> <chart:chartColumn displayLabel="" sourceIndex="2"/> </contents> </chart:emChart> <spacer height="5"/> <rowLayout hAlign="center"> <contents> <tableLayout cellSpacing="8" > <!--data:rendered="realtime@hostDetails"--> <contents> <rowLayout> <contents> <cellFormat hAlign="right"> <contents> </contents> </cellFormat> </contents> </rowLayout> <rowLayout> <contents> </contents> </rowLayout> </contents> </tableLayout> </contents> </rowLayout> </contents> </stackLayout> </contents> </header> </contents> </cellFormat> <cellFormat vAlign="top"> <contents> <header data:text="MAX_CPU_UTILIZATION@hostResourceBundle" vAlign="top"> <contents> <stackLayout> <contents> <chart:emChart data:title="MAX_CPU_UTILIZATION@hostResourceBundle" titleVisible="false" chartType="timeSeriesChart" data:width="maxCpuUtilwidth@hostDetails" data:height="maxCpuUtilheight@hostDetails" data:timeGranularity="maxCpuUtiltimeGranularity@hostDetails" orientation="vertical" axisMax="100" axisMin="0" seriesColorsAutomatic="true" data:warningThreshold="maxCpuUtilwarningThreshold@hostDetails" data:criticalThreshold="maxCpuUtilcriticalThreshold@hostDetails" legendPosition="south" data:shortDesc="MAX_CPU_UTILIZATION@hostResourceBundle"> <contents> <chart:boundChartDataSource data:chartDataSource="maxCpuUtilchartDataSource@hostDetails"/> <chart:imageMap data:imageMapDataSource="maxCpuUtilimapDataSource@hostDetails" overwriteLabels="true"/> <chart:chartColumn isKey="true" displayLabel="" sourceIndex="0"/> <chart:chartColumn isTimeColumn="true" displayLabel="" sourceIndex="1"/> <chart:chartColumn displayLabel="" sourceIndex="2"/> </contents> </chart:emChart> <spacer height="5"/> <rowLayout hAlign="center"> <contents> <tableLayout cellSpacing="8" ><!-- data:rendered="realtime@hostDetails"--> <contents> <rowLayout> <contents> </contents> </rowLayout> <rowLayout> <contents> </contents> </rowLayout> </contents> </tableLayout> </contents> </rowLayout> </contents> </stackLayout> </contents> </header> </contents> </cellFormat> <cellFormat vAlign="top"> <contents> <!--<header data:text="PROGRAM_TOTAL_CPU_TIME@hostResourceBundle" vAlign="top"> --> <header data:text="MAX_RESIDENT_MEMORY@hostResourceBundle" vAlign="top"> <contents> <stackLayout> <contents> <chart:emChart data:title="MAX_RESIDENT_MEMORY@hostResourceBundle" titleVisible="false" chartType="timeSeriesChart" data:width="maxResMemwidth@hostDetails" data:height="maxResMemheight@hostDetails" data:timeGranularity="maxResMemtimeGranularity@hostDetails" orientation="vertical" seriesColorsAutomatic="true" data:warningThreshold="maxResMemwarningThreshold@hostDetails" data:criticalThreshold="maxResMemcriticalThreshold@hostDetails" legendPosition="south" axisMin="0" data:shortDesc="MAX_RESIDENT_MEMORY@hostResourceBundle"> <contents> <chart:boundChartDataSource data:chartDataSource="maxResMemchartDataSource@hostDetails"/> <chart:imageMap data:imageMapDataSource="maxResMemimapDataSource@hostDetails" overwriteLabels="true"/> <chart:chartColumn isKey="true" displayLabel="" sourceIndex="0"/> <chart:chartColumn isTimeColumn="true" displayLabel="" sourceIndex="1"/> <chart:chartColumn displayLabel="" sourceIndex="2"/> </contents> </chart:emChart> </contents> </stackLayout> </contents> </header> </contents> </cellFormat> </contents> </rowLayout> <!--<spacer height="20"/> --> <header data:text="MONITORED_PROGRAMS@hostResourceBundle" > <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <styledText styleClass="OraTipText" vAlign="middle" data:text="REALTIME_FROM_TARGET@hostResourceBundle" /> <spacer width="5"/> <styledText styleClass="OraTipLabel" data:text="realTimeCollection@hostDetails" /> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> <contents> <!--<text text="showBy@hostDetails" /> --> <!--<text data:text="ntHost@hostDetails" />--> <!--<text data:text="showByCPU@hostDetails" /> --> <stackLayout> <contents> <tableLayout> <contents> <rowLayout> <contents> </contents> </rowLayout> </contents> </tableLayout> <spacer height="5"/> <table alternateText="no data found" data:tableData="rowCPU@hostDetails" data:summary="MONITORED_PROGRAMS@hostResourceBundle" data:columnHeaderData="columnHeaderList@hostDetails" data:columnFormats="colformat@columnFormatData" width="100%" data:blockSize="blockSizeValue@hostDetails" minValue="1" data:maxValue="size@hostDetails" data:value="currentValue@hostDetails" > <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader data:text="text" data:sortable="sortable"/> </columnHeaderStamp> <contents> <styledText data:text="prog_name"/> <styledText data:text="owner"/> <flowLayout> <contents> <styledText data:text="prog_max_process_count" data:destination="link_prog_max_process_count"/> <switcher data:childName="show_prog_max_process_count"> <case name="true"> <spacer width="5"/><image data:source="source_prog_max_process_count" /> </case> <case name="false"> <spacer width="15"/> </case> </switcher> </contents> </flowLayout> <flowLayout> <contents><styledText data:text="prog_total_cpu_util" data:destination="link_prog_total_cpu_util"/> <switcher data:childName="show_prog_total_cpu_util"> <case name="true"> <spacer width="5"/> <image data:source="source_prog_total_cpu_util" /> </case> <case name="false"> <spacer width="15"/> </case> </switcher> </contents> </flowLayout> <!-- ADDING FOR TOTAL_CPU_TIME_ACCUMULATED START 3RD OCT--> <flowLayout> <contents><styledText data:text="prog_total_cpu_time" data:destination="link_prog_total_cpu_time"/> <switcher data:childName="show_prog_total_cpu_time"> <case name="true"> <spacer width="5"/> <image data:source="source_prog_total_cpu_time" /> </case> <case name="false"> <spacer width="15"/> </case> </switcher> </contents> </flowLayout> <!-- END 3RD OCT --> <flowLayout> <contents> <styledText data:text="prog_max_cpu_util" data:destination="link_prog_max_cpu_util"/> <switcher data:childName="show_prog_max_cpu_util"> <case name="true"> <spacer width="5"/><image data:source="source_prog_max_cpu_util" /> </case> <case name="false"> <spacer width="15"/> </case> </switcher> </contents> </flowLayout> <flowLayout> <contents> <styledText data:text="prog_max_cpu_time" data:destination="link_prog_max_cpu_time"/> <switcher data:childName="show_prog_max_cpu_time"> <case name="true"> <spacer width="5"/><image data:source="source_prog_max_cpu_time" /> </case> <case name="false"> <spacer width="15"/> </case> </switcher> </contents> </flowLayout> <flowLayout> <contents><styledText data:text="prog_max_rss" data:destination="link_prog_max_rss"/> <switcher data:childName="show_prog_max_rss"> <case name="true"> <spacer width="5"/><image data:source="source_prog_max_rss" /> </case> <case name="false"> <spacer width="15"/> </case> </switcher> </contents> </flowLayout> </contents> </table> <spacer height="10"/> <tip> <contents> <text data:text="TIP_MONITORED_PROGRAM@mntrResourceBundle" /><spacer width="10"/> <link text="Click here " data:destination="thresholdURL@hostDetails"/> </contents> </tip> </contents> </stackLayout> </contents> </header> <spacer height="20"/> </contents> </stackLayout> </case> </switcher> </contents> </stackLayout> </contents> </header> <subTabBar orientation="bottom" data:selectedIndex="selectedTab@folderInfo"> <contents> <link data:text="HOME@mntrResourceBundle" data:destination="targetDest@folderInfo"/> <link data:text="PERFORMANCE@hostResourceBundle" data:destination="perfOverviewDest@folderInfo"/> <oem:license> <contents> <link data:text="ADMINISTRATION@hostResourceBundle" data:destination="hostAdminDest@folderInfo"/> </contents> </oem:license> <link data:text="HOST_TARGET_LIST@hostResourceBundle" data:destination="targetListDest@folderInfo"/> <link data:text="CONFIGURATION@TrackResourceBundle" data:destination="viewSnapshot@hostSnapshot"/> </contents> </subTabBar> </contents> </pageLayout> </contents> <provider> <data name="hostSnapshot"> <method class="oracle.sysman.eml.ecm.track.DBOHomeData" method="createHostECMLinks"/> </data> <data name="TrackResourceBundle"> <bundle class="oracle.sysman.eml.ecm.resources.TrackResourceBundle"/> </data> <data name="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="sdkBundle"> <bundle class="oracle.sysman.emSDK.eml.SDKUIMsg"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="hostResourceBundle"> <bundle class="oracle.sysman.eml.host.HostResourceBundle"/> </data> <!-- aachoudh commented this and added another method getHostProgramResourceUtil <data name="hostDetails"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="getHostSummary"/> </data> --> <data name="hostDetails"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="getHostProgramResourceUtil"/> </data> <data name="orderChoices"> <inline> <refOption data:name="CPU_UTIL_PCT@hostResourceBundle" value="CPU"/> <refOption data:name="MEM_UTIL_PCT@hostResourceBundle" value="Mem"/> </inline> </data> <data name="refreshChoices"> <inline> <refOption data:name="VIEWDATA_REALTIME_MANUAL@sdkBundle" value="manual"/> <refOption data:name="VIEWDATA_REALTIME_30SEC@sdkBundle" value="auto"/> <refOption data:name="LAST_DAY@sdkBundle" value="byDay"/> <refOption data:name="LAST_WEEK@sdkBundle" value="byWeek"/> <refOption data:name="LAST_MONTH@sdkBundle" value="byMonth"/> </inline> </data> <data name="sumryChoices"> <inline> <refOption data:name="PERFORMANCE_OVERVIEW@mntrResourceBundle" value="sumryOverviewOpt"/> <refOption data:name="CPU_DETAIL@hostResourceBundle" value="cpuOverviewOpt"/> <refOption data:name="MEMORY_DETAIL@hostResourceBundle" value="memoryOverviewOpt"/> <refOption data:name="DISK_IO_DETAIL@hostResourceBundle" value="diskIOOverviewOpt"/> <refOption data:name="MONITORED_PROGRAM@mntrResourceBundle" value="programResourceOpt"/> </inline> </data> <data name="columnFormatData"> <inline> <colformat/> <colformat/> <colformat columnDataFormat="numberFormat"/> <colformat columnDataFormat="numberFormat"/> <colformat columnDataFormat="numberFormat"/> <colformat columnDataFormat="numberFormat"/> <colformat columnDataFormat="numberFormat"/> <colformat columnDataFormat="numberFormat"/> </inline> </data> <data name="columnFormatDataNT"> <inline> <colformat columnDataFormat="numberFormat"/> <colformat/> <colformat columnDataFormat="numberFormat"/> <colformat columnDataFormat="numberFormat"/> <colformat columnDataFormat="numberFormat"/> <colformat/> </inline> </data> <data name="ctpColHeaderData"> <inline> <column text="Program Name" sortable="no"/> <column text="Total CPU Utilization(%)" sortable="ascending" /> <column text="Max CPU Utilization(%)" sortable="yes"/> <column text="Max CPU Time Accumulated(minutes)" sortable="yes"/> <column text="Max Resident Memory Size(MB)" sortable="yes"/> <column text="Process Count" sortable="yes"/> <column text="Owner" sortable="yes"/> </inline> </data> <data name="styleClasses"> <inline selected="OraHeaderSubSub" unselected="OraPromptText"/> </data> <data name="folderInfo"> <method class="oracle.sysman.eml.mntr.host.HostOverviewDataObject" method="getFoldersInfo"/> </data> <data name="consoleContextPath"> <method class="oracle.sysman.eml.util.ConsoleContextPath" method="getConsoleContextPath"/> </data> </provider> </dataScope> </contents></body> </baja:content> <handlers> <!-- Used for dropdown refresh option --> <event name="*"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="doLoad"/> </event> <event name="refToOpt"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="doSummaryRefreshForPrograms"/> </event> <event name="refToOptRefresh"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="doSummaryRefreshForPrograms"/> </event> <event name="showBy"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="handleTopProcsOrder"/> </event> <!-- aachoudh for sorting Event --> <event name="sort"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="doSort"/> </event> <!-- aachoudh for goto Event --> <event name="goto"> <method class="oracle.sysman.eml.mntr.host.HostSummaryDataObject" method="doGoto"/> </event> </handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de