HP-UX Event ManagerAdministrator's Guide

Using Event Manager
Monitoring Events
Chapter 236
# cat my_events | evmshow -t "@timestamp [@priority] @@" |
more
03-Aug-2006 21:06:14 [200] ProcSM : A category "esmd" has
been added
You can set up your own show-template to display the items that are
important to you, in any format you want. For more information about
the data items, see EvmEvent (5). After you determine your preferred
style, you can set a default show-template in the environment variable
EVM_SHOW_TEMPLATE and use fewer keystrokes at the command line. The
following Korn shell (ksh) commands are equivalent to those in the
previous example:
# export EVM_SHOW_TEMPLATE="@timestamp [@priority] @@"
# cat my_events | evmshow | more
If you want more information about an event, you can request a detailed
display, including an explanation and a full dump of its contents, by
using the command with the -d option. The following example shows a
detailed display of the category esmd add event:
#cat my_events | evmshow -d | more
============================ EVM Log event
===========================
EVM event name: sys.unix.procsm.category.create._catname.esmd
This informational event is posted by ProcSM module to indicate
that a new category has been added to Process Set Manager. [1]
===============================================================
=======
Formatted Message:
ProcSM: A category "esmd" has been added. [2] Event Data Items:
[3] Event Name:sys.unix.procsm.category.create._catname.esmd
Priority : 200
PID : -1
PPID : -1
Event Id : 28