Specifications

Resource Definitions
ONE: An Application That Uses One Resource
Use the one keyword for the selection-kind qualifier if a running instance of an
application consists of one resource, such as a GUI executable. You can list
several resources with the one keyword, in which case Application Response
recognizes one running instance of the application for each resource that it
observes.
Example
The following example lists required resources for a PeopleSoft application.
resources
{
require one
{
resource Process { ExecutableName="PSTOOLS" }
resource Process { ExecutableName="PSIDE" }
resource Process { ExecutableName="PSTORES" }
resource Process { ExecutableName="PSQED" }
}
Based on this resource definition, Application Response recognizes PSTOOLS
as one running instance of PeopleSoft, PSIDE as a second running instance,
and so on. For each running instance of the application, Application Response
monitors transactions separately.
Using No Resource Parameters
In most cases, you will create resource definitions that use parameters to
specify which executables (or other resources) Application Response is to use
to recognize a running instance of an application. For example, the following
resource definition tells Application Response to monitor network activity for
port 1234 on host Yellow:
resources
{
require one
{
resource Connection { Port="1234" Hostname="yellow" }
}
If you want to monitor network activity for port 1234 on any system (not just
on host Yellow), simply omit the Hostname parameter:
BT Language Reference 197