HP-UX CMGR A.02.00 Administrator's and Developer's Guide

3.2.6 The prm Element
The prm element manages interaction with the Process Resource Management (PRM)
configuration file specified by the prmfile attribute. Upon invocation, the prm handler
checks the operation option from the cmgr command and performs one of the following
tasks:
DescriptionOperation
Adds concatenated data child elements to the end of the prm
configuration file.
NOTE: You must include meta-tags around the configuration data to
be added. See Section 3.2.8 for more information on meta-tags.
add
Searches for the prmfile file for the first block of data with the exact
matching open and close comment meta-tags as specified in the
concatenated child data elements. If a match is found, the comment
meta-tags and all data between are deleted.
delete
Performs the equivalent of a delete followed by an add operation,
with the exception that the new data will be placed in the same location
in the PRM configuration file.
replace
Searches the prmfile file for matching meta-tags. If a match is found,
displays the entire meta-tag string. If used with the verbose option,
the entire content of the meta-tag data is displayed.
list
Upon successful completion of the add, delete, or replace operation, cmgr validates
the prm configuration file with the following command:
prmconfig -s -f $prmfile
If the validation succeeds, cmgr notifies prm to reload its configuration with the
following command:
prmconfig -ie -f $prmfile
NOTE: The prm handler processes a temporary copy of the $prmfile file. If the prm
handler returns an error, the contents of the $prmfile file will be unchanged from its
original state.
DescriptionAttribute
Optional.
id
Optional.
if
Optional.
if_op
24 Building a Template