Monitoring PeopleSoft MODULE and ACTION Information
In addition to the CLIENT_INFO field, PeopleTools also populates the MODULE and ACTION fields of the V$SESSION and V$SQL dynamic views. This provides increased monitoring capabilities if you use Oracle performance monitoring utilities, including:
-
Oracle Enterprise Manager
-
Oracle Database Resource Manager
-
Oracle Automatic Workload Repository
Note:
You must set the EnableAEMonitoring configuration setting to 1 to populate the MODULE and ACTION fields in V$SESSION and V$SQL views. By default, EnableAEMonitoring is set to 0 (disabled). To change the EnableAEMonitoring setting for an Application Server domain or a Process Scheduler domain, use the PSADMIN utility or manually modify the PSPRCS.CFG configuration file or the PSAPPSRV.CFG configuration file, then restart the respective servers.
By monitoring MODULE and ACTION values you can:
-
Provide more specific PeopleSoft information for several Oracle performance monitoring tools.
-
View and analyze performance and system resource usage for selected PeopleSoft application modules.
-
Write custom SQL to aggregate PeopleSoft performance and system usage information based on the MODULE, ACTION, and CLIENT_INFO values.
Depending on the type of connection, or the PeopleTools feature being used, the system populates the MODULE and ACTION fields with the information described in the following table.
| PeopleSoft Technology | MODULE Value | ACTION Value |
|---|---|---|
|
application server (browser connections) |
PeopleSoft component name |
PeopleSoft page name |
|
Integration Broker |
service operation name |
PeopleCode event |
|
Application Engine |
'PSAE'.<AE program name>.<PID> |
Application Engine program name, section name, step, and type. |
Each SQL statement in V$SQL has a MODULE field populated based on the MODULE field of the session that first submitted the SQL. You can write additional SQL to obtain valuable performance information aggregated based on the values of these fields.
Keeping in mind that the usage of the MODULE and ACTION values is intended mainly to be used within the context of Oracle performance monitoring utilities, to become familiar with the type of information provided you can issue SQL queries, such as the following samples:
select module, action, client_info from v$session;or
set linesize 200
select p.spid,
substr(s.osuser,1,10) osuser,
substr(s.username,1,8) username,
substr(s.program,1,24) program,
substr(s.client_info,1,60) ClientInfo,
substr(s.module,1,48) module,
substr(s.action,1,32) action
from v$session s, v$process p
where s.paddr=p.addr
and s.osuser is not null
order by s.osuser;