pim

Process information daemon, collecting resource usage of running processes.

Synopsis

pim [-h] [-V] [-d conf_dir] [-debug_level]

Description

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.

Note:

The pim daemon needs read access to /dev/kmem or its equivalent.

Options

-h

Outputs command usage and exits.

-V

Outputs product version and exits.

-d env_dir

Read ego.conf from the directory env_dir, rather than the default directory /etc, or the directory specified by the $EGO_CONFDIR environment variable.

-debug_level

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.

Specify one of the following values:
-1

Starts the lim in the background, with no associated control terminal.

-2

Starts the lim in the foreground, displaying the log messages to the terminal.

Files

/etc/ego.conf (by default) or EGO_CONFDIR/ego.conf