Working with Event 200 (Resources Per Process)
This event applies to the application server and the Process Scheduler server.
The PeopleSoft system makes specific operating system calls to obtain metrics for %CPU that are used by the process, CPU time consumed, virtual memory size, and working set size. Operating systems have slightly different definitions for these quantities and different ways of reporting them. For instance, "working set" memory is a Windows term; "resident set" is the UNIX equivalent. PeopleSoft strives for consistency across platforms. For example, PeopleSoft expresses %CPU within a range from 0 to 100 on all machines even though some vendors scale to N*100% if multiple CPUs (N CPUs) exist.
Microsoft Windows and Linux compute one or more resources as an average of the two measurements at the beginning and end of a sampling interval. On these platforms, the Performance Monitor does not report an Event 200 (Resources Per Process) until the second sampling interval after you boot a server.
Process resource utilization is usually sampled by the operating system and written to a memory location. Windows writes to the registry, while UNIX writes to various files. The system reads the current values for the process, so events change only when the operating system updates the statistics. Most operating systems update these statistics at least once per second.
PeopleSoft obtains all information using lightweight, C++ programmatic APIs. No additional processes or shell commands are run.
| Operating System | Description |
|---|---|
|
Windows |
Performance Monitor uses Performance Data Helper (PDH) to read registry counters. The information is identical to the Windows Performance Monitor tool. When multiple copies of a process, such as PSAPPSRV, are running, registry counters are assigned arbitrarily. For example, counter 1 and counter 2 can reverse their process assignment when a process reboots. Performance Monitor corrects for this.
|
|
AIX |
Performance Monitor reads the psinfo files, which is the same source of information that AIX uses for its "ps" command.
|
|
HPUX |
Performance Monitor reads pst_status using pstat_getproc.
|
|
Linux |
Performance Monitor reads ps information from /proc files.
|
|
Solaris |
Performance Monitor reads psinfo files, which is the same source of information that Solaris uses for its "ps" command.
|
|
OS/390 |
The only metric that is supported in the current release is Process Time. |