HP Process Resource Manager User's Guide

Administering PRM
Displaying current process information
Chapter 9 191
Displaying current process information
Using the ps command with the -P option adds a column listing each
process’s PRM group by name.
# ps -P
PRMID PID TTY TIME COMMAND
PRM_SYS 1047 ttyp2 0:01 sh
PRM_SYS 1046 ttyp2 0:02 rlogind
PRM_SYS 1081 ttyp2 0:00 ps
OTHERS 548 ? 0:20 sendmail
By using ps with the -l and -P options, the PRMID is printed instead of
the PRM group name.
# ps -l -P
F S UID PRMID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME COMD
1 S 0 1 3300 3299 0 158 20 65c180 78 418480 ttyp2 0:00 sh
1 R 0 0 3299 492 0 154 20 6a1d80 18 ttyp2 0:00 rlogind
1 R 0 1 3387 3300 15 181 20 662e80 17 ttyp2 0:00 ps
1 S 0 1 4418 4220 4 168 24 821280 982 7ffe6000 ttyp2 0:02 spy
The -R option, with a PRM group name or PRMID as an argument,
displays the ps output for the invoker’s processes belonging to the
specified group.
# ps -R OTHERS
PID TTY TIME COMMAND
588 ? 0:05 sendmail
4418 ttyp2 0:02 tester