Process information daemon, collecting resource usage of running processes.
The load information manager (lim) starts the pim daemon on every host participating in load sharing. The pim collects resource usage of the processes running on the local host. The information collected by the pim is used by clustered application managers (such as Platform LSF) to monitor resource consumption and enforce usage limits.
The pim updates the process information every 15 minutes unless a clustered application manager queries this information. If queried, the pim updates the process information every EGO_PIM_SLEEPTIME seconds (which is defined in the ego.conf file). If not defined, the default value for EGO_PIM_SLEEPTIME is 15 seconds. If the information is not queried for more than 5 minutes, the pim reverts back to the 15 minute update period.
The process information is stored in EGO_PIM_INFODIR/pim.info.<hostname> where EGO_PIM_INFODIR is defined in the ego.conf file. If this parameter is not defined, the default directory is /tmp. The pim daemon also reads this file when it starts up so that it can accumulate the resource usage of dead processes for existing process groups.
Read ego.conf from the directory env_dir, rather than the default directory /etc, or the directory specified by the $EGO_CONFDIR environment variable.
Starts the pim in debug mode. When running in debug mode, the pim uses a hard-coded port number rather than the one registered in system services. The debug_level option overrides the parameter EGO_LIM_DEBUG defined in ego.conf.