Event Management Service (EMS) Analyzer Manual
Using EMS Analyzer
Event Management Service (EMS) Analyzer Manual–133700
3-32
Using EMS Analyzer as a Debugging Tool
Example
Using EMS Analyzer as a Debugging Tool
You can use EMS Analyzer as a debugging tool. When your application generates EMS
event messages, you can use EMS Analyzer to view the event messages by token. By
setting up the FORMAT attribute, you can view any specific event message in token
format so that each field is separate and identifiable. You can then verify that each token
has the appropriate value, and that the event message was correctly generated.
The following command sets the format attribute to display all tokens and their
corresponding values:
-> alter, format token detail
The following command sets the format attribute to display only subsystem specific
tokens and their corresponding values. The header tokens will not be displayed:
-> alter, format token
Starting the Search
Before starting the search into EMS log files, make sure that the EMS event input file
has an appropriate value (EMSLOG attribute), that all filter parameters are set up to
select the desired event messages, and that the EVENTDB attribute has a value if you
want the selected events to be written to an Enscribe database or CSV file.
Use the INFO
command to verify all the current attribute values. When all attributes
have the desired values, use the DUMPLOG command to start the search into EMS
log files.
DISTRIBUTOR $Y200 -> alter, format token
EMSA DISTRIBUTOR $Y200 altered: FORMAT attribute
DISTRIBUTOR $Y200 -> dumplog
Searching events...
--------------------------------------------------------------------------
-----
Subject Mark: *
(2,2,500): 0
TANDEM.EMS.0 Text: "OMF: CPU 00, Current State = OVER THRESHOLD,
Prev"
"ious State = UP, Current Usage = 96,
Configured T"
"threshold = 90, Sampling Interval = 1
minutes."
(2,2,100): 1
(2,2,200): 1
(2,2,300): 1
(2,2,400): 0
(2,2,1600): 90
(2,2,1700):- 96
--------------------------------------------------------------------------
-----