Description Syntax Examples displayMetricTables

DMS Custom WLST Commands 6-3 The following example displays metric table names for two WebLogic Managed Servers: displayMetricTableNamesservers=[soa_server1, bam-server1] ADF ADFc ADFc_Metadata_Service ADFc_Region ADFc_Taskflow ADFc_Viewport BAM_common_connectionpool BAM_common_connectionpool_main BAM_common_messaging BAM_common_messaging_consumers . . .

6.1.2 displayMetricTables

Command Category: DMS Metrics Use with WLST: Online

6.1.2.1 Description

Displays the content of the DMS metric tables. The returned value is list of DMS metric tables, with the following information about each table: ■ The metric table name. ■ The metric table schema information. ■ The metric table Rows. The metric table schema information contains the following: ■ The name of the column. ■ The type of the column value. ■ The unit of the column. ■ The description of the column.

6.1.2.2 Syntax

displayMetricTables[metricTable_1] [, metricTable_2], [...] [, servers] [, variables] Argument Definition metricTable_n Optional. Specifies a list of metric tables. By default, this argument displays all available metrics. The metric table name can contain special characters for simple pattern matching. The character ? matches any single character. The character matches zero or more characters. You specify the metric table name. You can specify multiple metric table names in a comma-separated list. These are the same names output by the WLST command displayMetricTableNames. 6-4 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

6.1.2.3 Examples

The following example displays the data from the JVM and the weblogic.management.runtime.WebAppComponentRuntimeMBean metric tables, and limits it to data retrieved from soa_server1 and bam_server1: displayMetricTablesJVM,weblogic.management.runtime.WebAppComponentRuntimeMBean, servers=[soa_server1,bam_server1] . . . ApplicationRuntime: soa-infra ComponentName: integrationservicesIdentityService ContextRoot: integrationservicesIdentityService DeploymentState: 2 FilterDispatchedRequestsEnabled: false IndexDirectoryEnabled: false JSPDebug: false JSPKeepGenerated: false JSPPageCheckSecs: 1 JSPVerbose: true ModuleId: integrationservicesIdentityService ModuleURI: IdentityService.war Name: soa_server1_integrationservicesIdentityService ObjectName: com.bea:ApplicationRuntime=soa-infra,Name=soa_server1_ integrationservicesIdentityService, ServerRuntime=soa_server1,Type=WebAppComponentRuntime OpenSessionsCurrentCount: 0 OpenSessionsHighCount: 0 . . . The following example displays the aggregated metric tables with the specified metric aggregation parameters: displayMetricTablesj2ee_application:webservices_port_rollup, servers=[soa_server1,bam_server1], variables={host:hostname, servletName:dms} ---------------------------------------- j2ee_application:webservices_port_rollup ---------------------------------------- servers Optional. Specifies the servers from which to retrieve metrics. Valid values are a list of WebLogic Server instance names and system component names. To specify one server, use the following syntax: servers=servername To specify multiple servers, use one of the following syntax options: servers=[servername1, servername2, ...] servers=servername1, servername2, ... If this argument is not specified, the command returns the list of metric tables for all WebLogic servers and system components. variables Optional. Defines the metric aggregation parameters. Valid values are a set of name-value pairs. It uses the following syntax: variables={name1:value1, name2:value2, ...} The specific name-value pairs depend on the aggregated metric tables. Each aggregated metric table has its specific set of variable names. Argument Definition DMS Custom WLST Commands 6-5 Faults: 0 Requests: 0 Requests.averageTime: 0.0 Requests.totalTime: 0.0 ServerName: soa_server1 moduleName: RuntimeConfigService moduleType: WEBs portName: RuntimeConfigServicePortSAML processRequest.active: 0 service.throughput: 0.0 service.time: 0.0 startTime: 1238182359291 webserviceName: RuntimeConfigService Faults: 0 Requests: 0 Requests.averageTime: 0.0 Requests.totalTime: 0.0 ServerName: soa_server1 moduleName: TaskMetadataService moduleType: WEBs portName: TaskMetadataServicePort processRequest.active: 0 service.throughput: 0.0 service.time: 0.0 startTime: 1238182358096 webserviceName: TaskMetadataService . . . The following example displays the metric tables which names match the specified patterns: displayMetricTablesJ??, JVM_ . . . --------------- JVM_ThreadStats --------------- Host: hostname.us.oracle.com JVM: JVM Name: threads Parent: JVMMxBeans Process: AdminServer:9001 ServerName: AdminServer contention.value: enabled in JVM daemon.value: 60 threads deadlock.value: 0 threads live.value: 61 threads peak.value: 66 threads started.value: 241 threads Host: hostname.us.oracle.com JVM: JVM Name: threads Parent: JVMMxBeans Process: soa_server1:9001 6-6 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference ServerName: soa_server1 contention.value: enabled in JVM daemon.value: 68 threads deadlock.value: 0 threads live.value: 74 threads peak.value: 74 threads started.value: 105 threads . . .

6.1.3 dumpMetrics