HP StorageWorks P9000 Application Performance Extender Software User Guide (5697-0984, September 2012)

# Full path of the application, starting with a slash (/).
# The directory name must be fully qualified, but the file name can
# include the shell file name wildcard characters *, ?, [, and ].
# At configuration time, all valid executables matching the expression
# without explicit application records of their own will assume the
# GROUP of this record.
#
# GROUP
# Name of the application's assigned PRM group.
#
# ALTERNATE_NAME (optional)
# Alternate name the application is assigned when executed.
# REGEXP
# An Extended Regular Expression as defined in regexp(5).
# Any process whose command line matches the regular expression
# and which does not have an application record of its own will
# assume the GROUP of this record.
Example 2. Mapping GRP2, GRP3 and GRP15 to applications
GRP2 is mapped to an application named diskraw.
/tmp/hazard/diskraw::::GRP2
/tmp/hazard/diskfs::::GRP3
/tmp/hazard/diskmiwr::::GRP2
/usr/bin/dd::::GRP15
3. Configure and enable PRM resource and application managers.
Run the following command to configure and enable PRM resource and application managers:
# prmconfig -i -e
4. Verify the PRM setup.
After the application starts, run the ps command to ensure correct working of the PRM setup.
Example 3. Verification of application dd running in GRP15 (and PRM ID 15) as configured in
the above steps
Start the application : # dd if=/dev/rdisk/disk603 of=/dev/null &
ps -efP gives, PRMID mapping details.
# ps -efP
UID PRMID PID PPID C STIME TTY TIME COMMAND
root GRP15 15414 13002 35 23:02:33 pts/0 0:08 dd if=/dev/rdisk/disk603 of=/dev/null
HP StorageWorks P9000 Application Performance Extender Software User Guide 105