getmonitorstats

Description

Retrieves and prints runtime monitoring statistics from the server to which you are connected.

Syntax

Local mode support: No.

Command line:

getmonitorstats connect-args item [ detail ]

Ant build file:

<jag_getmonitorstats [ item=”item” ] [ detail=”detail” ] />

Option

Description

Required

connect-args

Arguments to specify a connection to the server. See “Using connected mode”.

Yes

item

An item type as listed in Table 12-4.

Yes

detail

An optional detail specifier to match the specified item type, as listed in Table 12-4.

No

Usage

getmonitorstats allows you to retrieve runtime monitoring statistics for the items listed in Table 12-4.

Table 12-4: getmonitorstats options

Item

Detail

To specify

Package

An optional package name.

Statistics for components in the specified package, or all components if you do not specify a package name.

Component

A component name in the form package/component.

Statistics for the specified component.

ConnCache

An optional connection cache name.

Statistics for the specified connection cache, or all of them if you do not specify a name.

ManagedConnectionFactory

An optional managed connection factory name.

Statistics for the specified managed connection factory, or all of them if you do not specify a name.

Network

The protocol, that is, HTTP or IIOP.

Network statistics for the specified protocol.

See also

Chapter 11, “Runtime Monitoring.”