HP Process Resource Manager User's Guide

Administering PRM
Displaying available memory to determine number of shares
Chapter 9188
Displaying available memory to determine
number of shares
The prmavail command displays the amount of memory available for
user processes when the MEM argument is specified:
# prmavail MEM
54300 real memory pages or 212 MB available (PRM estimate)
If prm2d is not running, this value is calculated by subtracting the
memory used by the kernel, system processes, and the system paging
reserve from total real memory. The available memory decreases if prm2d
is running, because PRM reserves 11% of the remaining memory to
ensure the processes in PRM_SYS have immediate access to needed
memory.
This command is useful in determining memory shares. For example, if a
PRM group receives 50 of the 100 memory shares assigned, the number
of shares equates to 106 Mbytes on this system. If that is too much or too
little memory, the number of shares can be adjusted accordingly.
Displaying number of cores to determine
number of shares
The prmavail command displays the number of cores when the CPU
argument is specified:
# prmavail CPU
16 Cores
This command is useful in determining how much CPU resources a
number of shares equates to on a multiprocessor system. For example, 25
CPU shares out of a total of 100 shares assigned on a 16-core system is
roughly equivalent to 4 cores.