HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 115
Consider the following example memory records:
# PRM memory records
#!PRM_MEM:1:10:25:::
#!PRM_MEM:databases:30::::
#!PRM_MEM:databases/inventory:15::::
#!PRM_MEM:3:15::::
#!PRM_MEM:4:55::::
#!PRM_MEM:5:5:15:::
#!PRM_MEM:6:20::::0:0:
The example shows:
A memory record for PRMID 1 (group OTHERS), which specifies 10
memory shares. The memory cap is 25%.
The parent group databases starts a hierarchy and is granted 30
memory shares to be divided by its child groups.
A memory record for the databases/inventory group. Rather than
using its name, we could have used its PRMID, which is 2, as we see
from the example in the section “Group/CPU record syntax” on
page 105. This record specifies 15 memory shares. No memory cap is
set.
A memory record for PRMID 3. We could have used the group’s
name, databases/order, in place of the PRMID. This record
specifies 15 memory shares. No memory cap is set.
A memory record for PRMID 4, which grants 55 memory shares. No
memory cap is set.
A memory record for PRMID 5, which grants 5 memory shares. The
memory cap is 15%.
A memory record for PRMID 6, which grants 20 memory shares. The
memory is isolated—the group cannot loan or borrow available
memory.