B HP-UX command/system call support

Several HP-UX commands and system calls support PRM in assigning users and applications to the proper PRM groups. Other commands have options that allow you to use PRM more efficiently. In either case, this functionality is available only when PRM is configured. See the following tables for information on these commands and system calls.

Table 32 lists HP-UX commands and system calls that support PRM groups. With HP-UX 11i v1 and later, most HP-UX commands and system calls support PRM.

Table 32 HP-UX commands/system calls that support PRM groups

Command/ system call

Supports PRM as follows

 

 

at

Places the scheduled job in the user’s initial PRM group. If the user does not have an initial

 

group, the job is placed in the user default group, OTHERS (PRMID 1).

 

 

cron

Places the scheduled job in the user’s initial PRM group. If the user does not have an initial

 

group, the job is placed in the user default group, OTHERS (PRMID 1).

 

 

login

Places the login process in the user’s initial PRM group. If the user does not have an initial

 

group, the login process is placed in the user default group, OTHERS (PRMID 1).

 

 

exec

Process remains in its current PRM group.

 

 

fork

Starts children processes in the parent’s PRM group.

 

 

pstat

Returns a process’s FSS PRMID.

 

 

Table 33 describes HP-UX commands that have options for PRM.Table 33 PRM options in HP-UX commands

Command

Option

Description

acctcom

-P

Displays the PRMID of each process.

 

 

 

acctcom

-Rgroup

Displays only processes belonging to the PRM group given by group, which

 

 

is specified by PRM group name or PRMID.

 

 

 

id

-P

Displays the PRMID and name of the invoking user’s initial group.

 

 

 

ps

-P [-l]

Adds a column named PRMID to the ps output that gives the PRM group name

 

 

associated with each process. If you also specify -l, you get the PRMID instead

 

 

of the PRM group name.

 

 

 

ps

-Rgroup_list

Displays only the processes that belong to PRM groups specified in

 

 

group_list.

 

 

group_list must consist of PRMIDs or PRM group names. Groups must be

 

 

separated by commas; no spaces are allowed.

 

 

 

For more information on these commands, see their manpages.

116 HP-UX command/system call support