Writing Monitors for the Event Monitoring Service (December 1999)

Chapter 2 25
The EMS Application Programming Interface (API)
2 The EMS Application
Programming Interface (API)
This section describes the functions used to write monitors for EMS.
The EMS API can be called from any program written in C or C++.
The EMS API has been designed to expand and still maintain binary
compatibility. The users of the EMS API (client applications and resource
monitors) operate on opaque resource monitor objects. Each object has
standard functions defined that allow the user to store and retrieve
information from the EMS API without having to know the specifics of
the objects’ implementation. This allows for future expansion of the EMS
API without forcing recompilation of the applications that use the EMS
API.
The EMS API is accessed through the
/etc/opt/resmon/lib/libresmon.sl shared library. The EMS API is
installed entirely in user space.
The EMS API is not thread safe.
Included in this section is the following information:
Functions
Logging and Tracing
Descriptions of the functions