pidProcessMon
The pidProcessMon event producer monitors for process death, based on PID.
- Overview
- The pidProcessMon event producer resides under the cpu directory and monitors for process death, based on PID.
- Capabilities
AHAFS_THRESHOLD_STATE AHAFS_CALLBACK_INTRCNTX
- Return codes
- The pidProcessMon event producer returns only a single return code 0.
- Event producer message
- This event producer passes PROCESS_DOWN message as part of its event data.
- Acceptable monitor files
- To monitor for process deaths, a monitor file should be created under the pidProcessMon.monFactory directory. A monitor file name with the format
has to be used./aha/cpu/pidProcessMon.monFactory/<process_PID>.mon
- Example event data
The following event data was generated from the death of a monitored process. This is the output seen with the default INFO_LVL.
BEGIN_EVENT_INFO TIME_tvsec=1272348759 TIME_tvnsec=379259175 SEQUENCE_NUM=0 RC_FROM_EVPROD=0 BEGIN_EVPROD_INFO EVENT_TYPE=PROCESS_DOWN END_EVPROD_INFO END_EVENT_INFO