ASAP 3.2 Server Manual
HP NonStop ASAP Server Manual Page 130 of 381
Section 5: File and Process
Monitoring
ASAP provides various ways to monitor files and processes and to control the amount
of data produced for those objects. The most common method of monitoring a file or
process is to specify the Guardian file or process name using the ASAP MONITOR
command. For example, the commands MONITOR FILE $DATA.SUBVOL.FILE and
MONITOR PROCESS $ABC will configure ASAP to monitor file $DATA.SUBVOL.FILE
and process $ABC. This section discusses more uncommon ways to monitor files and
processes using ASAP, which include:
Monitoring files and processes using wild-card names
Monitoring all the processes running from an object file
Monitoring OSS files
Monitoring processes executing from an OSS object file
Grouping files into logical, hierarchical groups of files
Grouping processes into logical, hierarchical groups of processes
Defining aggregate and aggregate-only domains at any level of the name hierarchy
Specifying Wildcard Names
You can use the "*" and "?" wildcard characters to specify Guardian file or process
names to monitor. Wildcards are not accepted at the volume name level of a filename.
Wildcards are only permissible in the subvolume and filename portions.
When wildcard names are specified, ASAP resolves the name at each interval to
determine if the files or processes meet the criteria, and ASAP computes and creates
a record for each object found. To avoid name conflicts with other forms of name
specifiers, ASAP appends the object name to the end of the name specified as a new
level of the ASAP domain name. For example, the command MONITOR PROCESS
$A* would resolve into a domain named "$A*\$ABC" for process $ABC.
Because the set of objects resolved from a wild-card name can vary at each interval,
ASAP will not issue an alert if it finds a member of the set is no longer running or
present. This is contrary to the way ASAP works if you directly monitor a file or process
without using wildcard names. In that case, ASAP does issue an alert when it cannot