RDF System Management Manual

Table Of Contents
Entering RDFSCAN Commands
HP NonStop RDF System Management Manual524388-003
9-10
LIST
LIST
The LIST command displays a specified number of log messages that contain the
current match pattern.
number
is the maximum number of log records to be shown.
Usage Guidelines
If you omit the number of records to be listed, RDFSCAN prompts you as follows:
Enter count to list:
The search begins at the current record (the record number specified in an
immediately preceding AT command).
If pattern matching is enabled, the LIST command examines the file until RDFSCAN
finds the specified number of matches or encounters the last record, whichever
happens first. RDFSCAN displays all messages within that range that contain the
current match pattern.
If pattern matching is disabled, the LIST command displays the specified number of
messages starting at the current record. This behavior is identical to using the SCAN
command with pattern matching disabled.
For information about enabling and disabling pattern matching, see the MATCH
command description later in this section.
Output Displayed
The LIST command displays the records in the file, including their record number (if the
DISPLAY function is enabled) and the event logged in the record: the date and time of
the event, the files involved in the event, and the event itself.
Examples
Suppose you want to display the first four messages (starting at record 500) that
contain the match pattern $AU02. You interact with RDFSCAN as follows, entering the
AT, MATCH, and LIST commands shown:
Enter the next RDFSCAN function you want: AT 500
File: $SYSTEM.SANFRAN.RDFLOG, current record: 500,
last record: 2955
Enter the next RDFSCAN function you want: MATCH *$AU02*
File: $SYSTEM.SANFRAN.RDFLOG, current record: 500,
last record: 2955, Pattern: *AU02*
LIST number