Process Request Statistics Methods

A process can use the getRequestStatistics method of the Process class to obtain its own request statistics. To obtain request statistics for any other process, you must use the Process class:

Each line of the output of these methods is delimited by the line feed (Lf) character.

An easy way to view this output is to use the writeString method of the File class to write the string returned by the method to a file and then view it with WordPad or another text editor.

To obtain process statistics for any other process, call the:

  1. Object class beginNotification method, to register to receive the notification containing the statistics

  2. Process class sendRequestStatistics method, to request the target process to send a notification containing statistics

  3. Process class extractRequestStatistics method in the Object class userNotification method, to retrieve the statistics

For details, see the following subsections.