To Use EVLOG [ Configuring and Managing Host-Based X.25 Links ] MPE/iX 5.0 Documentation
Configuring and Managing Host-Based X.25 Links
To Use EVLOG
You can run EVLOG using default options or you can runEVLOG interactively
to select and modify specific options. Instructions for each run mode
follow. The options are described in the remainder of this chapter.
To Run EVLOG Using Default Options
Follow the steps below to format a host-based X.25 log file usingthe
default options.
1. Copy the file that you want to format to a different file name.
(Hewlett-Packard recommends that you treat log files as read-only
files. Copying to a new file name allows you to format the new
file without modifying the original log file.)
2. At the MPE/iX prompt, enter the command:
:evlog logfilename
where logfilename is the name of the file created in step 1.
These steps will cause the entire log file to be formatted with default
options.
To Run EVLOG Interactively
Follow the steps below to formata host-based X.25 log file, to select
options:
1. Copy the file that you want to format to a different file name.
(Hewlett-Packard recommends that you treat log files as read-only
files. Copying to a new file name allows you to format the new
file without modifying the original log file.)
2. At the MPE/iX prompt, enter either of the following commands:
:evlog
or
:evlog logfilename,n
where logfilename is the name of the file created in step 1 and n
is any non-zero PARM. For example
:evlog myfile,2
The following display will appear:
Table 8-1.
-------------------------------------------------------------------------------------
| | | | |
| | | EVLOG C.00.00 001 File type = 7 (Version = | |
| | | A1200D00) | |
| | | | |
-------------------------------------------------------------------------------------
| |
| Options: |
| |
-------------------------------------------------------------------------------------
| | | | |
| | 0 - 1 | Set all options back to their default | (MYFILE, 0 records) |
| | - 2 - | values File Records Event types Subsystems | (1..0) (ALL) (ALL) |
| | 3 - 4 | Event codes Logical Channel Identifier | (1..2147483647) (ALL) |
| | - 5 - | (LCI) Virtual lPort Number (VPN) | (ALL) (HOST time) |
| | 6 - 7 | Time/offset format Time/offset (1970 - | (70-01-01-00-00-00...20- |
| | - 8 - | 2020 | 01-01-00-00-00) |
| | 9 - | | |
| | | | |
-------------------------------------------------------------------------------------
| | | | |
| | ? - | Redisplay current options | |
| | | | |
-------------------------------------------------------------------------------------
| |
| Each number of option or <CR> to select current options: |
| |
-------------------------------------------------------------------------------------
To Select Formatting Options.
To select the formatting option that you want to change when running
EVLOG interactively, type the option number at the prompt. EVLOG will
then prompt you to enter additional information. The information
required depends on the option selected. Brackets displaying the current
setting of the option are included in the prompt. Each of the options is
described below with each description including an example of the
option's use. User input is underlined.
NOTE The formatter will use default values for any options not specified
by the user. The defaultvalues are listed in parentheses beside
each of the options.
Option 1: File.
Use this option to open an event log file, if you did not specify a log
file name on the command line. Whenever a file is opened, the File
option will reflect file name and the number of records in the file. In
the example below, the log file, logfile1, contains 15 records.
Table 8-2.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 1Event log name |
| []? logfile1Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records | (logfile1, 15 records) |
| | - | | (1..0) |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | ... | ... | ... | ... | , . . | ... | ... | ... | ... | ... | ... | ... |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 2: Records.
Use this optionto select which record numbers to display. In the example
below, the user chooses to display records 2 through 5 of the opened log
file. Notice that the Records option displays the records that were
selected.
Table 8-3.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 2First record [1]? |
| 2Last record [15]? 5Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records | (logfile1, 15 records) |
| | - | | (2..5) |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | ... | ... | ... | ... | , . . | ... | ... | ... | ... | ... | ... | ... |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 3: Event Tapes.
Use this option to restrictthe records displayed to those of a specific
event type. In the example below, the user chooses to display only DTC
events. Following the selection, the Event types option displays a 3, to
signify the selection of event type 3, DTC events. (Note that not all of
the event types are meaningful for log files on host-based systems.)
Table 8-4.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 3Event types: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - 1 | ALL PC PC/DTC DTC |
| | - 2 - | |
| | 3 - | |
| | | |
----------------------------------------------------------------------------------------------------------------
| |
| Event type [ALL]? 3Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records Event types | (logfile1, 15 records) |
| | - 3 - | | (2..5) (3) |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | ... | ... | ... | ... | , . . | ... | ... | ... | ... | ... | ... | ... |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 4: Subsystems.
Use this option to restrictthe records displayed to those of a particular
subsystem. In the example below, the user selects the NMP subsystem.
Following the selection, the Subsystem option displays a 4, to signify
the selection of subsystem 4, NMP. (Note that not all of the subsystem
types are meaningful for log files on host-based systems.)
Table 8-5.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 4Subsystem |
| numbers: |
| |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | |
| | 0 - 1 | ALL Windows | | 4 - 5 | NMP NMLIB | | 8 - 9 | OS RLS UI OV |
| | - 2 - | TICL RMP | | - 6 - | IOIF PROBE | | - 10 - | |
| | 3 - | | | 7 - | | | 11 - | |
| | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
| |
| Subsystem [ALL]? 4Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records Event types Subsystems | (logfile1, 15 records) |
| | - 3 - | | (1..0) (3) (4) |
| | 4 - | | |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | ... | ... | ... | ... | , . . | ... | ... | ... | ... | ... | ... | ... |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 5: Event Codes.
Use this optionto specify a range of event codesto be displayed. To
specify the codes, you may enter eitherthe event code numbersor the
mnemonics listed in the prompt display. (The Options display will list
the event code numbers whether you select by number or by mnemonic.) In
the example below, the user chooses X.25 events by entering the mnemonic
X25. Notice that the event code numbers are shown in the resulting
display.
Table 8-6.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 5Event code |
| mnemonics (use for First event code if desired: |
| |
----------------------------------------------------------------------------------------------------------------
| | | | | | |
| | COM AOS MGR | (Common events) (AOS events) | = = = | 1 - 512 - | 511 1023 |
| | LAN AFCP | (MANAGER) (LINKMGR) | = = = | 1024 - 1280 | 1279 1525 |
| | ADCP TNR LNK | (MGR_Extension events) (X.25 | = = = | - 1536 - | 1791 2303 |
| | TCP IP EXT | level 3 events) (X.25 level 3 | = = = | 1792 - 2304 | 2559 2815 |
| | L3 L2 PAD | events) (X.25 PAD events) | = = = | - 2560 - | 3071 3327 |
| | MON X25 | (Monitor events) (L2 + L3 | = = | 2816 - 3072 | 3583 4095 |
| | X25PAD | events) (X.25 + PAD events | | - 3328 - | 4607 5119 |
| | | | | 3584 - 4096 | 5631 4607 |
| | | | | - 4608 - | 5119 |
| | | | | 5120 - 3584 | |
| | | | | - 3584 - | |
| | | | | | |
----------------------------------------------------------------------------------------------------------------
| |
| Event code range: First event code [1]? X25Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records Event types Subsystems Event | (logfile1, 15 records) |
| | - 3 - | codes | (2..5) (3) (4) |
| | 4 - 5 | | (3584..4607) |
| | - | | |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | ... | ... | ... | ... | , . . | ... | ... | ... | ... | ... | ... | ... |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 6: Logical Channel Identifier (LCI).
Use this option to restrict the records displayedto those for a
specificLogical Channel Identifier. In the example below, the user
presses [RETURN] to accept the default of displaying all records.
Table 8-7.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 6Logical Channel |
| Identifier (LCI) (1-256, 0 = ALL) [ALL]?Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records Event types Subsystems Event | (logfile1, 15 records) |
| | - 3 - | codes Logical Channel Identifier (LCI) | (2..5) (3) (4) |
| | 4 - 5 | | (3584..4607) (ALL) |
| | - 6 - | | |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | ... | ... | ... | ... | , . . | ... | ... | ... | ... | ... | ... | ... |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 7: Virtual Port Number (VPN).
Use this option to restrict the records displayed to those for a
particular virtual port number(VPN). (Some PAD events containthe VPN but
not the corresponding LCI; some X.25 events contain the LCI but not the
VPN. However, some X.25 events contain both, so usually you can logically
tie the two together.) In the example below, the user presses [RETURN]
to accept the default of displaying all records.
Table 8-8.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 7Logical Channel |
| Identifier (LCI) (1-255, 0 = ALL) [ALL]?Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records Event types Subsystems Event | (logfile1, 15 records) |
| | - 3 - | codes Logical Channel Identifier (LCI) | (2..5) (3) (4) |
| | 4 - 5 | Virtual Port Number (VPN) | (3584..4607) (ALL) (ALL) |
| | - 6 - | | |
| | 7 - | | |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | ... | ... | ... | ... | , . . | ... | ... | ... | ... | ... | ... | ... |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 8: Time/Offset Format.
There are four typesof timestampsin event logrecords. They are:
HOST time The time the event was logged on the host (HP
3000). Found in event type 3 (DTC).
PC time The time the event was logged on the OV DTC MGR PC.
(This type is not meaningful for log files created
on systems using host-based network management.)
DTC CPU time The time the event was sent from the DTC. Found in
event type 3 (DTC).
DTC SNP time The time the event occurred on the SNP. Found in
event type 3 (DTC)
Use this option to choose whether one of these timestamp types will be
displayed under the column labeled "Time/offset" or whether the offset
will be from the beginning of the file. In the example that follows, the
user chooses to display the time that events were logged on the host.
Table 8-9.
----------------------------------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 8Time formats: |
| |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | HOST PC DTC CPU | |
| | - 3 - | DTC SNP Record | |
| | 4 - 5 | offset | |
| | - | | |
| | | | |
----------------------------------------------------------------------------------------------------------------
| |
| Time format [1]? 1Options: |
| |
----------------------------------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
----------------------------------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records Event types Subsystems Event | (logfile1, 15 records) |
| | - 3 - | Codes Logical Channel Identifier (LCI) | (2..5) (3) (4) |
| | 4 - 5 | Virtual Port Number (VPN) Time/offset | (3584..4607) (ALL) (ALL) |
| | - 6 - | format | (Host time) |
| | 7 - 8 | | |
| | - | | |
| | | | |
----------------------------------------------------------------------------------------------------------------
| | | | | | | | | | | | | |
| | . | . | . | . | . | . | . | . | . | . | . | . |
| | | | | | | | | | | | | |
----------------------------------------------------------------------------------------------------------------
Option 9: Time/Offset.
Use this optionto specify a range
of time to be displayed. This option is available only for the HOST
time. In the example below, the user selects a time range from October 4
through October 5 of 1991 by responding to the series of prompts. Note
that, as usual, the current settings are displayed in brackets in the
prompts.
Table 8-10.
-------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: 9HOST time range: |
| |
-------------------------------------------------------------------------------------
| | | | | |
| | FROM TO: | year month | [1970]? 1991[1]? 10[1]? 4[0]? | |
| | | day hour min | 11[0]? [0]? [2020[? 1991[1]? | |
| | | sec year | 10[1]? 5[0]? [0]? [0]? | |
| | | month day | | |
| | | hour min sec | | |
| | | | | |
-------------------------------------------------------------------------------------
| |
| Options: |
| |
-------------------------------------------------------------------------------------
| | | |
| | 0 - | Set all options back to their default values |
| | | |
-------------------------------------------------------------------------------------
| | | | |
| | 1 - 2 | File Records Event types Subsystems Event | (logfile1, 15 records) |
| | - 3 - | Codes Logical Channel Identifier (LCI) | (2..5) (3) (4) |
| | 4 - 5 | Virtual Port Number (VPN) Time/offset | (3584..4607) (ALL) (ALL) |
| | - 6 - | format Time/offset (1970 - 2020) Redisplay | (Host time) |
| | 7 - 8 | current options | (70-01-01-00-00-00...20- |
| | - 9 - | | 01-01-00-00-00) |
| | ? - | | |
| | | | |
-------------------------------------------------------------------------------------
| |
| Enter number of option or <CR> to select current options: |
| |
-------------------------------------------------------------------------------------
MPE/iX 5.0 Documentation