HP Process Resource Manager User's Guide

Administering PRM
Displaying netgroup expansions
Chapter 9176
Displaying netgroup expansions
The combination of user records and multiple netgroup records can make
determining a user’s initial and alternate PRM groups difficult.
The prmlist command displays exactly this information. Using the
prmlist -u +netgroup option displays the data for only the specified
netgroup.
For example, consider the following /etc/netgroup entries:
prime two three five # Define the first three
even zero two four # netgroups in terms of the
odd one three five # following netgroups
zero (, user0, )
one (, user1, )
two (, user2, )
three (, user3, )
four (, user4, )
five (, user5, )
Notice in the entries above that user2, user3, and user5 appear in
multiple netgroups. Now consider the following PRM configuration:
OTHERS:1:20::
even_PRM_group:2:25::
odd_PRM_group:3:25::
prime_PRM_group:4:25::
Five:5:5::
root::::PRM_SYS
guest::::OTHERS
user5::::Five
+even::::even_PRM_group
+odd::::odd_PRM_group
+prime::::prime_PRM_group
The configuration places members of the even netgroup in the PRM
group even_PRM_group. Similarly, members of the odd and prime
netgroups are assigned to the PRM groups odd_PRM_group and
prime_PRM_group, respectively. The explicit user record for user5
assigns that user to the PRM group Five.