EMS Manual

Collector Event Messages
EMS Manual426909-005
20-20
519: ZEMS-EVT-MSGR-EVENTS-DISCARDED
WRITETHRUCACHE. By using EMSCCTRL with the BUFFERED ON option, you
are selecting a buffering mode used by the disk process. When buffering, event
messages accumulate in the disk cache-buffer before they are written to disk. This
mode of operation involves significantly fewer writes to disk and provides
substantial gains in efficiency.
Whether greater efficiency or greater security is more important depends on your
particular programming environment.
EOFREFRESH. By using EMSCCTRL with the REFRESH ON option, you are
directing the collector to update the end-of-file pointer on disk for each block
written. This is somewhat safer but involves more writes to the disk. The change in
efficiency is less substantial than in the BUFFERED ON/OFF decision. If efficiency
is your primary goal, use REFRESH OFF.
EVENTBLOCKING. By using EMSCCTRL with the BLOCKING ON option, you are
directing the collector to block events to disk, if possible. At high event rates, this
substantially increases the collector’s maximum sustained logging rate.
519: ZEMS-EVT-MSGR-EVENTS-DISCARDED
Unconditional Tokens
ZSPI-TKN-SSID
is the subsystem ID for EMS, as described in the SPI Programming Manual.
Note. The buffering, however, involves a slight risk. If the disk’s CPU and backup both fail,
the event messages in the disk cache buffer are lost.
Unconditional Tokens Token Type
ZSPI-TKN-SSID ZSPI-TYP-SSID.
ZEMS-TKN-EVENTNUMBER ZSPI-TYP-INT.
ZEMS-TKN-EMPHASIS ZSPI-TYP-BOOLEAN.
ZEMS-TKN-CONSOLE-PRINT ZSPI-TYP-BOOLEAN.
ZEMS-TKN-GENTIME ZSPI-TYP-TIMESTAMP.
ZEMS-TKN-LOGTIME ZSPI-TYP-TIMESTAMP.
ZEMS-TKN-CPU ZSPI-TYP-INT.
ZEMS-TKN-PROC-DESC ZSPI-TYP-STRING.
ZEMS-TKN-PIN ZSPI-TYP-INT.
ZEMS-TKN-NODENUM ZSPI-TYP-INT2.
ZEMS-TKN-USERID ZSPI-TYP-UINT.
ZEMS-TKN-SUBJECT-MARK ZSPI-TYP-SSCTL.
ZEMS-TKN-COLLECTOR ZSPI-TYP-ENUM.
ZEMS-TKN-MSGR-EVENTS-DISCARDED ZSPI-TYP-UINT.
ZEMS-TKN-MESSENGERCPU ZSPI-TYP-UINT.
Event-Message Text
EMS: count EVENTS DISCARDED BY SENDVIAMESSENGER IN CPU
messenger-cpu