HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 135
Launching an application under PRM
There are two ways to start an application under PRM:
Start the application as you normally would.
The application manager automatically moves it to the PRM group
assigned in the PRM configuration file. A user must have the correct
permissions to run the application.
Use the prmrun command. For example, to start the critical_app
application in its assigned group CriticalApp:
# prmrun critical_app
The PRM configuration file must contain one record that has no
alternate process names for this application. If there is no such
record, prmrun fails with an error.
The prmrun command allows any user to run an application in its
assigned group as defined in the PRM configuration file, assuming
the user has execute permission on the application. This means that
any user can execute this command, even if they do not have
permission to use the application’s assigned PRM group.
The prmrun -g command can be used to override the PRM
configuration file and run the application in a specific PRM group if
the user has access to the PRM group.
If the application manager is not running, and you do not use prmrun to
start the application, it runs in the current PRM group of the user who
invokes it.
When the application manager is enabled, any applications not running
in their assigned PRM groups are moved to their assigned groups. The
exception is an application moved to a specific PRM group with
prmmove -g or one started in a specific group with prmrun -g. If an
application does not have an assigned PRM group, it runs in the group of
the invoking user.