Writing Monitors for the Event Monitoring Service (December 1999)

Chapter 2 47
The EMS Application Programming Interface (API)
Function Descriptions
rm_monitor_stop
Called by resource monitors to terminate communications with the EMS
API and the Registrar. This function should be called in response to an
RM_TERMINATE_EVENT.
Function Prototype
void rm_monitor_stop ( void );
Parameters
None.
Returned Value
None.
Usage Notes
The rm_monitor_stop() function closes the EMS log file
/etc/opt/resmon/log/api.log, which disables the EMS logging
functions.