ASAP 2.8 Server Manual

ASAP Conversational Interface Commands
HP NonStop ASAP Server Manual522303-007
6-61
MONITOR Command
To monitor all files in subvolume $DATA.SUB that start with FIL:
MONITOR FILE $DATA.SUB.FIL*, ADD
To monitor an OSS file:
MONITOR FILE /home/dir/filename
To monitor a file as part of a logical group named SALES:
MONITOR FILE SALES\DATA\$DATA.SUB.SALES
To dynamically monitor all processes running from an object file:
MONITOR PROCESS $DATA.OBJECT.FILE
To monitor processes dynamically from an object file as part of a logical process
group:
MONITOR PROCESS SALES\SERVER\$DATA.OBJECT.FILE
To dynamically monitor all processes whose names start with $A:
MONITOR PROCESS $A*
To dynamically monitor all processes whose names start with $A as a past of the
STOCKS\QUOTES logical group:
MONITOR PROCESS STOCKS\QUOTES\$A*
To dynamically monitor processes running from the OSS shell:
MONITOR PROCESS /bin/sh
To dynamically monitor processes running from an OSS object file as part of a
logical group named SALES\SERVER:
MONITOR PROCESS SALES\SERVER/home/finance/server.exe
To create your own domain name and use the PATH option to monitor an OSS
process:
MONITOR PROCESS SALES\SERVER\SALES2 PATH
/homedir/subdir/sales2
To create an aggregate domain for all files on a volume named $DATA:
MONITOR FILE $DATA\#
To create an aggregate-only domain for all files on a volume named $DATA3:
MONITOR FILE $DATA3\##
To create an aggregate process domain and suppress writing of detail records to
the ASAP database, specify the name to the level where you want the aggregation
to occur using the ## symbol. Detail records are not written to the ASAP database,
but they are available for display from ASAP memory using the PROCESS