9 Administering PRM
This chapter explains the tasks involved in the daily administration of PRM.
Various PRM commands are mentioned in this chapter. See “Command reference” (page 101) for information on these commands.
Moving processes between PRM groups
This section explains how to move a process from one PRM group to another. You might want to move a process to a different PRM group if it is either not getting enough of or using too much of the resources allocated to its current group.
You can move processes by:
•Process ID
•Process group ID
•User login
To move a process:
1.Use ps
2.Issue the prmmove command. The syntax is shown below:
prmmove [ targetgrp -i ][-pPID... ][-gpgrp... ][-ulogin... ]
targetgrp cannot be a parent in a group hierarchy. When specifying a leaf group, you can use either its PRMID or its group name.
Consider the following examples:
To move a process with process ID (PID) 100 to the PRM group with PRMID 2:
#prmmove 2
To move the same process to your initial group, use the
#prmmove
To move multiple processes to your initial group:
#prmmove
To move the user’s shell (PID indicated by $$ below) to PRM group 15:
#prmmove 15
To move all processes owned by user1 to PRM group projectX:
#prmmove projectX -u user1
NOTE: Be careful when using the
This has no effect on subsequent logins of user1. To move all of a user’s processes permanently, change the user’s initial group in the configuration file, as discussed in the section “Specifying PRM users ” (page 71).
Displaying application filename matches
Because application records allow wildcards in filenames, keeping track of all the applications that a filename with wildcards matches can be difficult.
Moving processes between PRM groups 89