Viewing Performance Metrics Using Fusion Middleware Control

4-6 Oracle Fusion Middleware Performance and Tuning Guide Figure 4–1 Major WLDF Components All of the framework components operate at the server level and are only aware of server scope. All the components exist entirely within the server process and participate in the standard server lifecycle. All artifacts of the framework are configured and stored on a per server basis.

4.5 WebLogic Scripting Tool WLST

The Oracle WebLogic Scripting Tool WLST is a command-line scripting environment that you can use to create, manage, and monitor Oracle WebLogic Server domains. It is based on the Java scripting interpreter, Jython. In addition to supporting standard Jython features such as local variables, conditional variables, and flow control statements, WLST provides a set of scripting functions commands that are specific to WebLogic Server. You can extend the WebLogic scripting language to suit your needs by following the Jython language syntax. You can use any of the following techniques to invoke WLST commands: ■ Interactively, on the command line ■ In script mode, supplied in a file ■ Embedded in Java code Note: For more information on the WebLogic Diagnostics Framework and how it can be leveraged for monitoring Oracle Fusion Middleware components, see Oracle Fusion Middleware Configuring and Using the Diagnostics Framework for Oracle WebLogic Server. See Also: ■ Oracle Fusion Middleware WebLogic Scripting Tool Command Reference ■ Using Custom WLST Commands in Oracle Fusion Middleware Administrators Guide 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