get component

Description

Returns a list of components that are monitored by the RMS. Components are monitored objects within a server. Replication Server components are connections, logical connections, routes, queues, and partitions; Adaptive Server Enterprise components are RepAgent threads.

Syntax

get {connections | logical connections | routes | queues | partitions |
		repagents}
	for server_name [, component_name]...

Parameters

connections, logical connections, routes, queues, partitions, repagents

Returns the specified type of component monitored by the RMS. For example, returns all connections in a specified Replication Server monitored by the RMS.

server_name

Specifies the server that contains the requested components. If the server does not contain any of the requested components, get component returns an empty result set.

component_name

Specifies a specific component or list of components to return. Components are monitored objects within a server. Replication Server components include connections, logical connections, routes, queues, and partitions. Adaptive Server Enterprise components are RepAgent threads.

Examples

Example 1

Returns a list of all connections being monitored by the RMS in the Replication Server INVENTORY_RS:

get connections for INVENTORY_RS

Example 2

Returns a list of all RepAgent threads being monitored by the RMS in the Adaptive Server Enterprise server called INVENTORY_PDS:

get repagents for INVENTORY_PDS

Example 3

Returns the information for the route named “inventory_rs.euro_sales” for the Replication Server INVENTORY_RS:

get routes for INVENTORY_RS, inventory_rs.euro_sales

Usage

See also

configure component, get status descriptions, get servers, resume component, suspend component