Oracle WebLogic Server Administration Console

Monitoring Oracle Fusion Middleware 4-7

4.5.1 Using Custom WLST Commands

Many components, such as Oracle SOA Suite, Oracle Platform Security Services OPSS, Oracle Fusion Middleware Audit Framework, and MDS, and services such as SSL and logging, supply custom WLST commands. To use these custom WLST commands, you must invoke WLST from the Oracle home in which the component has been installed. See Using Custom WLST Commands in the Oracle Fusion Middleware Administrators Guide for more information.

4.5.1.1 Using WLST Commands for System Components

In addition to the commands provided by WLST for Oracle WebLogic Server, WLST provides a subset of commands to monitor and manage system components. These commands are: ■ startproccomponentName [, componentType] [, componentSet: Starts the specified component. ■ stopproccomponentName [, componentType] [, componentSet: Stops the specified component. ■ statuscomponentName [, componentType] [, componentSet: Obtains the status of the specified component. ■ proclist: Obtains the list of components. ■ dumpMetrics[servers,] [format]: Displays available metrics in the internal format, PDML, or in XML. ■ displayMetricTables[metricTable_1], [metricTable_2], [...,] [servers] [variables]: Displays the content of the DMS metric tables. ■ displayMetricTableNames[servers]: Displays the names of the available DMS metric tables. The returned value is a string array containing metric table names.

4.6 DMS Spy Servlet

The DMS Spy servlet provides access to DMS metric data from a web browser. Data that is created and updated by DMS-enabled applications and components is accessible through the DMS Spy Servlet.

4.6.1 Viewing Performance Metrics Using the Spy Servlet

The DMS Spy Servlet is part of the DMS web application. The DMS web applications web archive file is dms.war, and can be found in the same directory as dms.jar: ORACLE_HOMEmodulesoracle.dms_11.1.1dms.war. The DMS web application is deployed by default as part of a JRF-enabled server instance. The URL is: http:host:portdmsSpy. Only users who have Administrator role access can view this URL as access is controlled by standard Java EE elements in web.xml. Note: The dmstool command has been replaced with the following commands: dumpMetrics, displayMetricTables, displayMetricTableNames. For more information on DMS WLST commands, see DMS Custom WLST Commands in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference 4-8 Oracle Fusion Middleware Performance and Tuning Guide

4.6.2 Using the DMS Spy Servlet

Figure 4–2 shows the initial page of the Spy servlet: both sides show the same list of metric tables. Figure 4–2 Spy Servlet Page - Metrics Tables Note that the Spy servlet can display metric tables for WebLogic Server and also for non-Java EE components that are deployed. For metric tables to appear in the Spy servlet, the component that creates and updates that table must be installed and running. Metric tables for components that are not running are not displayed. Metric tables with : in their name for example, weblogic_ j2eeserver:app_overview are aggregated metric tables generated by metric rules. To view the contents of a metric table, click the table name. For example, Figure 4–3 shows the MDS_Partition table.