139.4.1 CONFIG_CLIENT Procedure

The CONFIG_CLIENT procedure enables or disables the client which is on a specific service.

Syntax

DBMS_NETMON.CONFIG_CLIENT ( client_id      IN BINARY_INTEGER DEFAULT NULL,
                            service_cat    IN BINARY_INTEGER,
                            service_type   IN BINARY_INTEGER,
                            enable_svc     IN BOOLEAN,
                            stats_interval IN BINARY_INTEGER DEFAULT 0 );

Parameters

Table 139-4 CONFIG_CLIENT Procedure Parameters

Parameter Description

client_id

Specifies the ID of the client to be configured. The default is NULL indicating all clients.

service_cat

The services to configure for the client.

service_type

The events or statistics to configure for the client.

enable_svc

Boolean value indicating whether to enable or disable the specified category and type.

stats_interval

The statistics interval specified in hundreds of milliseconds.

Usage Notes

If you specify NULL for the CLIENT_ID, the configuration will apply to all clients.

Examples

The following example illustrates how to disable events for all clients using the package variables:
SQL> execute dbms_netmon.config_client(null, dbms_netmon.all_services, dbms_netmon.events_type, FALSE, 0);
The following example illustrates how to enable the IPIF service for client 2 with a 4 minute interval:
SQL> execute (2, dbms_netmon.ipif_service, dbms_netmon.stats_type, TRUE, 2400);