HP-UX HB v13.00 Ch-19 - PRM

HP-UX Handbook Rev 13.00 Page 21 (of 31)
Chapter 19 Process Resource Manager (PRM)
October 29, 2013
# PRM_CAPPING=0
# PRM_INT_APPL=0
# PRM_INT_MEM=0
# PRM_LOG_APPL=0
# PRM_LOG_MEM=0
# PRM_SNMPAGT=0
# PRM_USE_REALUID=0
#
# PRM_CONFIG: Set to 1 to configure PRM
# PRM_CONFIG_FILE: Set filename for PRM configuration
# PRM_ENABLE: Set to 1 to enable PRM when configured
# PRM_SLEEP: Set seconds to sleep after PRM is configured
# PRM_CAPPING: Set to 1 to start PRM in CPU capping mode when enabled
# PRM_INT_APPL: Set seconds for PRM APPL manager interval when enabled
# PRM_INT_MEM: Set seconds for PRM MEM manager interval when enabled
# PRM_LOG_APPL: Set to 1 to start PRM in APPL mgr. logging mode when enabled
# PRM_LOG_MEM: Set to 1 to start PRM in MEM mgr. logging mode when enabled
# PRM_SNMPAGT: Set to 1 to spawn prmagt at boot time
# PRM_USE_REALUID: Set to 1 to use real uid for PRM user records at boot time
#
# NOTE: to use PRM_CONFIG=1, you must set PRM_CONFIG_FILE=filename
# NOTE: to use PRM_CONFIG_FILE=filename, you must set PRM_CONFIG=1
# NOTE: to use PRM_ENABLE=1, you must set PRM_CONFIG=1
# NOTE: to use PRM_SLEEP=n, you must set PRM_CONFIG=1
# NOTE: to use PRM_CAPPING=1, you must set PRM_ENABLE=1
# NOTE: to use PRM_INTR_APPL=n, you must set PRM_ENABLE=1
# NOTE: to use PRM_INTR_MEM=n, you must set PRM_ENABLE=1 and have memory records
# NOTE: to use PRM_LOG_APPL=1, you must set PRM_ENABLE=1
# NOTE: to use PRM_LOG_MEM=1, you must set PRM_ENABLE=1 and have memory records
#
PRM_CONFIG=0
PRM_CONFIG_FILE=/etc/prmconf
PRM_ENABLE=0
PRM_SLEEP=0
PRM_CAPPING=0
PRM_INT_APPL=0
PRM_INT_MEM=0
PRM_LOG_APPL=0
PRM_LOG_MEM=0
PRM_SNMPAGT=0
PRM_USE_REALUID=0
If you want PRM enabled after a reboot, you need to set PRM_CONFIG and PRM_ENABLE to
1. If you want PRM to run in capping mode, set PRM_CAPPING to 1 additionally.
Activation
Starting and Stopping PRM
The command prmconfig(1) activates PRM. Example:
$ prmconfig -i -e APPL