prmrun(1)prmrun(1)NAMEprmrun - run application in assigned or specified PRM group
SYNOPSIS
PRMgroup application [arguments]
DESCRIPTION
launches an application in its assigned PRM group, in a specified PRM‐
group, or in the user's initial PRM group.
If you specify only an application (and no or option), PRM launches the
application in its assigned PRM group, as defined in the PRM configura‐
tion file.
If you specify either of the two prmrun options PRM examines user per‐
missions to determine whether you are allowed to run the application as
requested.
COMMAND AVAILABILITY
Specifying only an application name:
Any user that can execute a given application can use specifying
only the application name.
Specifying the PRMgroup option:
A user must be able to execute the specified application and have
permission to use PRMgroup (see prmconf(4)) to use this option.
Specifying the option:
A user must be able to execute the specified application and have
an initial PRM group defined in the configuration file (see prm‐
conf(4)) to use the option.
Superusers have no restrictions.
OPTIONS
Running without options or application parameters prints a list of the
PRM groups the invoking user can access. The first group in the list
is the invoking user's initial group.
Display version information and exit.
Print a list of the PRM groups the invoking user can access
in wide-column format, exceeding the 30-column default
if necessary to avoid clipping any names. The first
group in the list is the invoking user's initial group.
(Although this option is still supported, you do not
need to specify it as its behavior is now the default.)
Launch the application in
PRMgroup.
PRMgroup Is the target PRM group. Specify a target PRM group by
the PRM group name or the PRM group ID (PRMID). A par‐
ent group in a group hierarchy cannot be specified as
PRMgroup. For information on group hierarchies, see
the group records syntax in prmconf(4).
Launch the application in the user's initial group, as defined in the
PRM
configuration file. If the user's initial group is not
defined, the application is launched in PRMID 1, the
user default group.
application Launch the application, with or without its arguments,
in its assigned group, as defined in the PRM configura‐
tion file.
If the application does not have an assigned group, it
is launched in the user's initial PRM group. If the
user does not have an initial group, the application
runs in PRMID 1, the user default group.
Applications configured with alternate names are not
supported for this feature.
RETURN VALUE
Zero is returned if detects no errors, and the application, if speci‐
fied, returns zero.
Nonzero is returned if detects errors or the specified application
returns nonzero.
EXAMPLES
Run the application with argument in its assigned PRM group:
Run the application with arguments in the PRM group which is not
assigned group:
Run the application in the user's initial PRM group:
Print a list of PRM groups you can access:
Sample output:
User jdoe can access the following:
test
development
OTHERS
WARNINGS
When is used to start an application in a group other than its assigned
PRM group, the application processes remain in the group started in
until explicitly moved by prmmove or prmconfig. However, if the appli‐
cation starts before the application manager is started, the processes
may be moved (depending on whether you to their configured groups when
the application manager is started and enabled.
AUTHOR
was developed by HP.
FILES
default PRM configuration file
SEE ALSOprm(1), prmagt(1), prmanalyze(1), prmavail(1), prmconfig(1), prm‐
list(1), prmloadconf(1), prmmonitor(1), prmmove(1), prmrecover(1), prm‐
conf(4).
HP Process Resource Manager User's Guide (/opt/prm/doc/PRM.ug.pdf)
HP Process Resource Manager homepage (http://www.hp.com/go/prm)
prmrun(1)