ASAP 3.1 Server Manual

HP NonStop ASAP Server Manual Page 152 of 360
This example limits the response to an in-memory record request only to domains
where at least one attribute state is at the medium alert level (state 4.)
APP ATM, DE, ST, MEM, MINSTATE 4
This example shows information from the ASAP database but limits the output to only
aggregate domains. It uses the AO abbreviation for AGGREGATEONLY.
APP ATM, DE, ST,AO
This examples extracts all ATM records for the last 1000 samples into a separate file
named $DATA.STORE.ATMFILE while suppressing terminal output.
APP ATM, EXTRACT $DATA.STORE.ATMFILE, NOPRINT, SAMPLES 1000
This example illustrates writing comma-separated value (CSV) records to a pre-
existing entry-sequenced file named ATMCSV. Only aggregate ATM records are
written to the CSV file, for 1000 samples. The TAB option replaces normal tab
characters in the output with a comma.
APP/OUT ATMCSV/ATM, DE, ST, AO,RAW, TAB ",", NOLINEBREAK, S1000
The next example illustrates the EDL DETAIL command for a user-defined ASAP
entity where the entity is controlled by a SET AGGREGATE ONLY command in
ASAPXCNF. When SET AGGREGATE ONLY is defined for an entity, detail records
are not written to the ASAP database, but they are available from ASAP memory using
the ME (MEMORY) option. Setting this command in user EDL files lets you right-
mouse on an object in ASAP Client and then select Show Object Details to show the
detail records that make up the aggregate domain. The MI (MINSTATE) option is used
to control record selection to choose only records where at least one attribute state is
equal to or greater than the low-alert state (3), and the CO (COUNT) parameter is
used to limit the number of lines of response to 20. Setting this command lets you
immediately retrieve the alerting detail records from an aggregate domain where only
the aggregate domain is written to the ASAP database and to the ASAP Client. Option
abbreviations are used in the EDL DETAIL command because the domain name
insertion (^) can insert up to 64 additional bytes into the command. Completely
CIP Command
CIP [/OUT <file>/] [\* ] [ [.] * ] [,SAMPLES count ]
[\node] [ [.] domain][,STATES ]
[,TIME hh[:mm [m/d/y]]
[, MINSTATE [AUTO] ]
[ [state] ]
[, COUNT count ]
[,EXTRACT filename ]
[,NOPRINT ]
[,NOLINEBREAK ]
[,AGE minutes ]
entity [\* ] [ [.] * ] [, DETAIL ]
[\node] [ [.] domain][,SAMPLES count ]