skip to main content
OpenAccess SDK Manager Commands : OpenAccess SDK Manager Commands : ProfileMonitorEdit | pme
 

ProfileMonitorEdit | pme

In a client/server configuration, changes a monitoring profile for an OpenAccess SDK service.

Syntax


{ProfileMonitorEdit | pme} service_name {enable | disable | event_group} [{enable | disable} | {event_name | event_id} [{on | off}]]
where:
service_name is the service for which to change the monitoring profile. Service names can be obtained using the ServiceList | sl command.
event_group is the type of event to change for the monitoring profile. Valid values are:
*{Service | srvc}
*{Session | sess}
*{Statement | stmt}
event_name is the name of the event within in the specified event group to change. You can use the ProfileMonitorInfo command to list available event names.
event_id is the numeric identifier of the event within the specified event group to change. You can specify either event_name or event_id, not both. You can use the ProfileMonitorInfo command to list available event identifiers.

Example

Example A: The following example enables all events for the OpenAccessSDK810_C data access service, meaning that all events are monitored:

pme OpenAccessSDK810_C enable
Example B: The following example disables all events for the OpenAccessSDK810_C data access service, meaning no events are monitored:

pme OpenAccessSDK810_C disable
Example C: The following example enables all service events for the OpenAccessSDK810_C data access service:

pme OpenAccessSDK810_C service enable
Example D: The following example disables all session events for the OpenAccessSDK810_C data access service:

pme OpenAccessSDK810_C session disable
Example E: The following example changes the state of the session event named database user to off:

pme OpenAccessSDK810_C session "database user" off
Example F: The following example changes the state of the session event identified by 10 to off:

pme OpenAccessSDK810_C session 10 off
Example G: The following example changes the state of the statement event named sql to on:

pme OpenAccessSDK810_C stmt sql on