Standalone Logtool for MPE/iX
which are always displayed as hex arrays or can be
displayed as hex arrays by using the HEXDUMP option,
the index construct will allow users to select
log records by individual array elements. To
use the index construct, the field label must
be followed by the array element index number
enclosed in square brackets. Please note that
all arrays start with an element index of 1.
The selection criteria specified by a field label
keyword will only be met if the data item and the data
found in the log record match exactly.
If the selection criteria are not met, the
record will not be displayed. All
field labels and text data items will be
upshifted before the evaluation is performed.
<field label> ::= text | "text" | text[<index>] | "text"[<index>]
<index> ::= integer value starting at 1
<data list> ::= <data item> | <data item> , <data list>
<data item> ::= integer value | text | "text"
Ex: Ldev=1,7 "PRODUCT NAME"=HP7935 JSNAME=JREPORT
"Hardware status"[1]=4
DATE - The DATE option will cause the user to be
prompted for a range of dates. Only those log
records falling into one of the specified date
ranges will be included in the report. Default
is the current day.
Ex: Enter the starting date [01/01/86] ? 02/02/86
Enter the ending date [<starting date>]? 02/03/86
Do you have more dates (Y/N) [N] ? n
TIME - The TIME option will cause the user to be
prompted for a range of times. Only those log
records falling into one of the specified time
ranges will be included in the report.
Default is the current time.
Ex: Enter the starting time [12:47 PM]? 1:00 PM
Enter the ending time [<starting time>]? 5:00 PM
Do you have more to enter (Y/N) [N] ? n
WIDE - The WIDE option is used when the output is
directed to a device which has 120 or more
columns. If the output device is LP, this
option is automatically set.
HEXDUMP - The HEXDUMP option is applicable only for I/O
and diagnostic records. If used, the hardware
status and diagnostic error stack is
dumped in HEX rather than being decoded into
text statements.
Command Examples:
LOGTOOL> list log=1 out=demo
Processing LOG0001.PUB.SYS ...
Total records checked = 52. Records selected = 52.
LOGTOOL>
LIST Report Example:
The following is an example display of a log file (LOG0039.PUB.SYS) through the LOGTOOL LIST command.
SYSTEM ERROR LOG REPORT
=======================